diff options
Diffstat (limited to 'web/yacco2/qa/TS_la1.lex')
-rw-r--r-- | web/yacco2/qa/TS_la1.lex | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/web/yacco2/qa/TS_la1.lex b/web/yacco2/qa/TS_la1.lex new file mode 100644 index 0000000000..7268a878b5 --- /dev/null +++ b/web/yacco2/qa/TS_la1.lex @@ -0,0 +1,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 |