diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-15 01:25:38 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-15 01:25:38 +0100 |
commit | 1f7475248b369e18114086b507ceceacdc1a0c24 (patch) | |
tree | 3c4e157ff099dc6faa8978c4e5e1558e6424e4a0 /parser.h | |
parent | 33d3311dc9fe09e8cc670dc11378980f2f1d3eab (diff) | |
download | sciteco-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ #include "sciteco.h" +/* TECO uses only lower 7 bits for commands */ +#define MAX_TRANSITIONS 127 + class State { protected: /* static transitions */ |