From d0274f50a36f9e0c28bdbd6a230a775c661b2ecb Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 10 Feb 2013 09:25:02 -0500 Subject: write the skip-token label only if it is used --- colm/fsmcodegen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'colm/fsmcodegen.h') 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(); -- cgit v1.2.1