aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'goto.cpp')
-rw-r--r--goto.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/goto.cpp b/goto.cpp
index 3785076..f4d9497 100644
--- a/goto.cpp
+++ b/goto.cpp
@@ -160,6 +160,12 @@ public:
static GotoTable table;
+void
+goto_table_clear(void)
+{
+ table.clear();
+}
+
StateLabel::StateLabel() : State()
{
transitions['\0'] = this;