summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/TS_la1.lex
blob: 7268a878b57429c5f1484b4ebdb4c44aa60b113f (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
/*	
$echo FILE:		  TS_la1.lex
$echo Purpose:	  test la expr: eolr only
$echo Okay
*/
fsm	
(fsm-id	"TS_la1.lex",fsm-filename	TS_la1,fsm-namespace NS_TS_la1
,fsm-class		CTS_la1
,fsm-version	"1.0"	,fsm-date	"17 Juin 2003",fsm-debug	"true"
,fsm-comments	"end-of-line recognizer")
parallel-parser	
(	
  parallel-thread-function
    TH_TS_la1
  ***
  parallel-la-boundary
    eolr 
  ***
)
@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T"

/@
@** Rules.\fbreak
@/
rules{
Reol AD AB(){
  -> Rdelimiters 
}

Rdelimiters AD AB()
{
  ->  /@ lf: Unix\fbreak@/ "x0a" 
  ->  "x0d" |.| 
  ->  /@ cr:lf Windows\fbreak@/ "x0d" "x0a" 
}
}// end of rules