CA input (done); initial state missing

This commit is contained in:
Artur Meski
2018-03-03 22:38:51 +00:00
parent c5b4dc91d9
commit 18004b916e
5 changed files with 58 additions and 5 deletions

View File

@@ -210,7 +210,11 @@ auttransitions:
| auttrans SEMICOL auttransitions
;
auttrans: LCB contextset RCB COL autstate RARR autstate
auttrans: LCB contextset RCB COL IDENTIFIER RARR IDENTIFIER {
driver.getReactionSystem()->ctxAutAddTransition(*$5, *$7);
free($5);
free($7);
}
;
contextset:
@@ -219,7 +223,8 @@ contextset:
;
ctxentity: IDENTIFIER {
//
driver.getReactionSystem()->ctxAutPushNamedContextEntity(*$1);
free($1);
}
;