aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--goto.cpp4
-rw-r--r--goto.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/goto.cpp b/goto.cpp
index f4d9497..a3b3dfa 100644
--- a/goto.cpp
+++ b/goto.cpp
@@ -166,6 +166,10 @@ goto_table_clear(void)
table.clear();
}
+/*
+ * Command states
+ */
+
StateLabel::StateLabel() : State()
{
transitions['\0'] = this;
diff --git a/goto.h b/goto.h
index 0a83406..cfa5c50 100644
--- a/goto.h
+++ b/goto.h
@@ -6,6 +6,10 @@
#include "sciteco.h"
#include "parser.h"
+/*
+ * Command states
+ */
+
class StateLabel : public State {
public:
StateLabel();