diff options
Diffstat (limited to 'web/yacco2/qa/TS_path1a.lex')
-rw-r--r-- | web/yacco2/qa/TS_path1a.lex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/web/yacco2/qa/TS_path1a.lex b/web/yacco2/qa/TS_path1a.lex new file mode 100644 index 0000000000..056b671155 --- /dev/null +++ b/web/yacco2/qa/TS_path1a.lex @@ -0,0 +1,30 @@ +/* +$echo FILE: TS_path1a.lex +$echo Dates: 21 Jul 2006 +$echo Purpose: Pathological test +$echo Error --- does not derives a terminal string: not lr1 +$echo Error --- shift / reduce error before pathological check! +*/ +/@ +@** |TS_path1a| grammar.\fbreak +Pathological test grammar.\fbreak +Not lr1. +@/ +fsm +(fsm-id "TS_path1a.lex",fsm-filename TS_path1a +,fsm-namespace NS_TS_path1a +,fsm-class CTS_path1a +,fsm-version "1.0" ,fsm-date "17 Juin 2003",fsm-debug "true" +,fsm-comments "Pathological grammar -- does not derives a terminal string") +@"/usr/local/yacco2/compiler/grammars/yacco2_T_includes.T" +rules{ +Rstart AD AB(){ + -> RA eog +} + +RA AD AB() +{ + -> RA + -> "x" +} +}// end of rules |