aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 007b942..3eba297 100644
--- a/parser.h
+++ b/parser.h
@@ -50,4 +50,22 @@ private:
State *custom(gchar chr);
};
+#include "goto.h"
+
+extern gint macro_pc;
+
+extern struct States {
+ StateStart start;
+ StateLabel label;
+} states;
+
+extern enum Mode {
+ MODE_NORMAL = 0,
+ MODE_PARSE_ONLY
+} mode;
+
+extern gchar *strings[2];
+
+bool macro_execute(const gchar *macro);
+
#endif