summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/TS_path7.lex
blob: ad109bdb1521c6fa64f036b4860b6a455e7fbf73 (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
34
35
36
37
38
39
40
41
/*	
$echo FILE:		  TS_path7.lex
$echo Purpose:	  Pathological test
$echo Error ---	Grammar is not lr1.		
*/
/@
@** |TS_path7| grammar.\fbreak
Pathological test grammar.\fbreak
Grammar is not lr1.
|RA| $\rightarrow$  $\alpha{_{\epsilon}}$ |RA|\fbreak
@/
fsm	
(fsm-id	"TS_path7.lex",fsm-filename	TS_path7
,fsm-namespace NS_TS_path7
,fsm-class		CTS_path7
,fsm-version	"1.0"	,fsm-date	"17 Juin 2003",fsm-debug	"true"
,fsm-comments	"end-of-line recognizer")
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"
rules{
Rstart (){
  -> RA eog
}

RA ()
{
  -> RB RA 
  -> "x"
}
RB ()
{
  -> RC RD  
}
RC ()
{
  ->   
}
RD ()
{
  ->   
}
}// end of rules