diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/yacco2/qa/rule2.dat |
Initial commit
Diffstat (limited to 'web/yacco2/qa/rule2.dat')
-rw-r--r-- | web/yacco2/qa/rule2.dat | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/web/yacco2/qa/rule2.dat b/web/yacco2/qa/rule2.dat new file mode 100644 index 0000000000..e1532a3c0c --- /dev/null +++ b/web/yacco2/qa/rule2.dat @@ -0,0 +1,42 @@ +/* +$echo file: rule2.dat +$echo test: bad pparallel-control-monitor +$echo Error +*/ +fsm +(fsm-id "eol.lex",fsm-filename eol,fsm-namespace NS_eol +,fsm-class Ceol +,fsm-version "1.0" ,fsm-date "17 Juin 2003",fsm-debug "false" +,fsm-comments "end-of-line recognizer --- Unix, Mac, and Microsoft supported styles.") +parallel-parser +( + parallel-thread-function + TH_eol + *** + parallel-la-boundary + eolr + *** +) +@"/yacco2/compiler/grammars/yacco2_T_includes.T" + +rules{ +Reol (){ + -> Rdelimiters +} + +Rdelimiters () +{ + -> Rsubrule_def +} + +Rsubrule_def AD AB( +pparallel-control-monitor{ + arbitrator-code + int s(0);//cccccccc + *** + } +){ + -> x +} + +}// end of rules |