From 1f7475248b369e18114086b507ceceacdc1a0c24 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 15 Nov 2012 01:25:38 +0100 Subject: 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) --- parser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'parser.h') 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 */ -- cgit v1.2.3