aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-08 01:47:37 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-08 01:47:37 +0100
commit50054f938958ad8fe1351f0f245226e56ce4d586 (patch)
treed12165b292a886beca9df8727f2fb7671b7ba328 /goto.cpp
parent7dbb2831b81ff0174054d30b1fc105b2113c272d (diff)
downloadsciteco-50054f938958ad8fe1351f0f245226e56ce4d586.tar.gz
added missing transition table initialization for label state
Diffstat (limited to 'goto.cpp')
-rw-r--r--goto.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/goto.cpp b/goto.cpp
index f183ca1..3785076 100644
--- a/goto.cpp
+++ b/goto.cpp
@@ -160,6 +160,11 @@ public:
static GotoTable table;
+StateLabel::StateLabel() : State()
+{
+ transitions['\0'] = this;
+}
+
State *
StateLabel::custom(gchar chr)
{