diff options
author | Adrian Thurston <thurston@complang.org> | 2013-02-10 09:25:02 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-02-10 09:25:02 -0500 |
commit | d0274f50a36f9e0c28bdbd6a230a775c661b2ecb (patch) | |
tree | 8b63e90c3a865b9b824327e0b5822907986d2ada /colm/fsmcodegen.h | |
parent | 6e9be06ee366728bb85fe3bc2b977597b655d09c (diff) | |
download | colm-d0274f50a36f9e0c28bdbd6a230a775c661b2ecb.tar.gz |
write the skip-token label only if it is used
Diffstat (limited to 'colm/fsmcodegen.h')
-rw-r--r-- | colm/fsmcodegen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/colm/fsmcodegen.h b/colm/fsmcodegen.h index 39ae1876..29fcb98d 100644 --- a/colm/fsmcodegen.h +++ b/colm/fsmcodegen.h @@ -75,6 +75,7 @@ public: RedFsm *redFsm, FsmTables *fsmTables ); protected: + string FSM_NAME(); string START_STATE_ID(); ostream &ACTIONS_ARRAY(); @@ -165,6 +166,7 @@ public: bool dataPrefix; bool writeFirstFinal; bool writeErr; + bool skipTokenLabelNeeded; std::ostream &TO_STATE_ACTION_SWITCH(); std::ostream &FROM_STATE_ACTION_SWITCH(); |