From 53504d6514716836c1901e476adb4f6373e42e2c Mon Sep 17 00:00:00 2001 From: Artur Meski Date: Sat, 29 Dec 2018 15:01:57 +0000 Subject: [PATCH] Parser semicols --- rsin_parser.yy | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rsin_parser.yy b/rsin_parser.yy index 9cead08..0f1ad96 100644 --- a/rsin_parser.yy +++ b/rsin_parser.yy @@ -80,15 +80,15 @@ class rsin_driver; %start system; system: - | OPTIONS LCB options RCB system - | REACTIONS LCB reactionsets RCB system - | INITIALCONTEXTS LCB initstates RCB system - | CONTEXTENTITIES LCB actionentities RCB system - | CONTEXTAUTOMATON LCB ctxaut RCB system + | OPTIONS LCB options RCB SEMICOL system + | REACTIONS LCB reactionsets RCB SEMICOL system + | INITIALCONTEXTS LCB initstates RCB SEMICOL system + | CONTEXTENTITIES LCB actionentities RCB SEMICOL system + | CONTEXTAUTOMATON LCB ctxaut RCB SEMICOL system { driver.getReactionSystem()->ctxAutFinalise(); } - | RSCTLKFORM LCB IDENTIFIER COL rsctlk_form RCB system { + | RSCTLKFORM LCB IDENTIFIER COL rsctlk_form RCB SEMICOL system { driver.addFormRSCTLK(*$3, $5); free($3); } @@ -213,9 +213,9 @@ actentity: IDENTIFIER { /*******************************************/ ctxaut: - | STATES LCB autstates RCB ctxaut - | INITSTATE LCB autinitstate RCB ctxaut - | TRANSITIONS LCB auttransitions RCB ctxaut + | STATES LCB autstates RCB SEMICOL ctxaut + | INITSTATE LCB autinitstate RCB SEMICOL ctxaut + | TRANSITIONS LCB auttransitions RCB SEMICOL ctxaut ; autstate: IDENTIFIER {