aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 01:25:38 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 01:25:38 +0100
commit1f7475248b369e18114086b507ceceacdc1a0c24 (patch)
tree3c4e157ff099dc6faa8978c4e5e1558e6424e4a0 /parser.h
parent33d3311dc9fe09e8cc670dc11378980f2f1d3eab (diff)
downloadsciteco-1f7475248b369e18114086b507ceceacdc1a0c24.tar.gz
added Interface class to ease porting SciTECO to other platforms (toolkits)
* will support Scintilla with Scinterm/NCurses * changes are in such a way that the generated machine code should have almost no overhead compared to the previous implementation (at least when compiled with optimizations)
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index e9ef59b..e7bbd1e 100644
--- a/parser.h
+++ b/parser.h
@@ -6,6 +6,9 @@
#include "sciteco.h"
+/* TECO uses only lower 7 bits for commands */
+#define MAX_TRANSITIONS 127
+
class State {
protected:
/* static transitions */