blob: a7bf02a1ee1c967777a654542de71b05735dcb8c (
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
|
/*
$echo FILE: TS_path6.lex
$echo Purpose: Pathologiacl test
$echo Error --- Rule |RA| does not derive a terminal string
*/
/@
@** |TS_path6| 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_path6.lex",fsm-filename TS_path6
,fsm-namespace NS_TS_path6
,fsm-class CTS_path6
,fsm-version "1.0" ,fsm-date "17 Juin 2003",fsm-debug "true"
,fsm-comments "does not derive a subrule")
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"
rules{
Rstart AD AB(){
-> RA
}
RA AD AB()
{
-> RA RB
}
RB AD AB()
{
-> RA
}
}// end of rules
|