aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-08 01:20:37 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-08 01:20:37 +0100
commit7dbb2831b81ff0174054d30b1fc105b2113c272d (patch)
treefde5c878e2c9a89e6f41c8535034e1b16927c154 /goto.h
parent1707fcabca80e2e664bef9c02ec5cc9d793ce37b (diff)
downloadsciteco-7dbb2831b81ff0174054d30b1fc105b2113c272d.tar.gz
added support for labels, including the goto label table
* uses BSD tree macros, might later be abstracted to a C++ table class
Diffstat (limited to 'goto.h')
-rw-r--r--goto.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/goto.h b/goto.h
new file mode 100644
index 0000000..87324d8
--- /dev/null
+++ b/goto.h
@@ -0,0 +1,14 @@
+#ifndef __GOTO_H
+#define __GOTO_H
+
+#include <glib.h>
+
+#include "sciteco.h"
+#include "parser.h"
+
+class StateLabel : public State {
+private:
+ State *custom(gchar chr);
+};
+
+#endif