diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-02-16 02:52:51 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-02-16 02:52:51 +0100 |
commit | 8811c358f8c82aea515051b508b26fbfacb61e24 (patch) | |
tree | 4acc9c426f9e83c9e5e66c10807af760be9830dd /src/parser.h | |
parent | 7b16df057ce5b8cd5ad1870d5188ee11140e73b5 (diff) | |
download | sciteco-8811c358f8c82aea515051b508b26fbfacb61e24.tar.gz |
implemented command to query ASCII code of character (^^x)
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h index 9908f31..da9bfee 100644 --- a/src/parser.h +++ b/src/parser.h @@ -218,6 +218,14 @@ private: State *custom(gchar chr) throw (Error); }; +class StateASCII : public State { +public: + StateASCII(); + +private: + State *custom(gchar chr) throw (Error); +}; + class StateFCommand : public State { public: StateFCommand(); @@ -268,6 +276,7 @@ protected: namespace States { extern StateStart start; extern StateControl control; + extern StateASCII ascii; extern StateFCommand fcommand; extern StateCondCommand condcommand; extern StateECommand ecommand; |