Fixed bison warning
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
%skeleton "lalr1.cc" /* -*- C++ -*- */
|
%skeleton "lalr1.cc" /* -*- C++ -*- */
|
||||||
%require "2.5"
|
%require "2.5"
|
||||||
%defines
|
%defines
|
||||||
%define parser_class_name "rsin_parser"
|
%define parser_class_name {rsin_parser}
|
||||||
|
|
||||||
%code requires {
|
%code requires {
|
||||||
#include <string>
|
#include <string>
|
||||||
@@ -83,6 +83,11 @@ system:
|
|||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* -------------------------
|
||||||
|
* REACTIONS
|
||||||
|
* -------------------------
|
||||||
|
*/
|
||||||
reactions:
|
reactions:
|
||||||
| reactions reaction SEMICOL
|
| reactions reaction SEMICOL
|
||||||
;
|
;
|
||||||
@@ -131,6 +136,8 @@ reactionProduct: IDENTIFIER {
|
|||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
/*******************************************/
|
||||||
|
|
||||||
initstates:
|
initstates:
|
||||||
LCB initstate RCB {
|
LCB initstate RCB {
|
||||||
driver.rs->commitInitState();
|
driver.rs->commitInitState();
|
||||||
@@ -151,6 +158,8 @@ entity: IDENTIFIER {
|
|||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
/*******************************************/
|
||||||
|
|
||||||
actionentities:
|
actionentities:
|
||||||
| actentity
|
| actentity
|
||||||
| actionentities COMMA actentity
|
| actionentities COMMA actentity
|
||||||
|
|||||||
Reference in New Issue
Block a user