diff options
-rw-r--r-- | goto.cpp | 5 | ||||
-rw-r--r-- | goto.h | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -160,6 +160,11 @@ public: static GotoTable table; +StateLabel::StateLabel() : State() +{ + transitions['\0'] = this; +} + State * StateLabel::custom(gchar chr) { @@ -7,6 +7,9 @@ #include "parser.h" class StateLabel : public State { +public: + StateLabel(); + private: State *custom(gchar chr); }; |