blob: 59b16e107f15abe6df452dcd87bf6f80dd0e99d5 (
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
31
32
33
|
/*
$echo FILE: TS_path5.lex
$echo Purpose: Pathologiacl test
$echo Error --- does not derive a subrule: terminal string
$echo Error --- left recurses on self but does not derive a str first
*/
/@
@** |TS_path5| grammar.\fbreak
Pathological test grammar.\fbreak
Rule |RA| does not derive a terminal string.
It left recurses on self but does not derive a str first.
@/
fsm
(fsm-id "TS_path5.lex",fsm-filename TS_path5
,fsm-namespace NS_TS_path5
,fsm-class CTS_path5
,fsm-version "1.0" ,fsm-date "17 Juin 2003",fsm-debug "true"
,fsm-comments "does not derive a subrule: terminal string")
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"
rules{
Rstart AD AB(){
-> RA
}
RA AD AB()
{
-> RA RB
}
RB AD AB()
{
->
}
}// end of rules
|