blob: 056b67115585105ff7ad6a399494e8fb4a84f847 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
$echo FILE: TS_path1a.lex
$echo Dates: 21 Jul 2006
$echo Purpose: Pathological test
$echo Error --- does not derives a terminal string: not lr1
$echo Error --- shift / reduce error before pathological check!
*/
/@
@** |TS_path1a| grammar.\fbreak
Pathological test grammar.\fbreak
Not lr1.
@/
fsm
(fsm-id "TS_path1a.lex",fsm-filename TS_path1a
,fsm-namespace NS_TS_path1a
,fsm-class CTS_path1a
,fsm-version "1.0" ,fsm-date "17 Juin 2003",fsm-debug "true"
,fsm-comments "Pathological grammar -- does not derives a terminal string")
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"
rules{
Rstart AD AB(){
-> RA eog
}
RA AD AB()
{
-> RA
-> "x"
}
}// end of rules
|