From 8811c358f8c82aea515051b508b26fbfacb61e24 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 16 Feb 2013 02:52:51 +0100 Subject: implemented command to query ASCII code of character (^^x) --- src/parser.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/parser.h') 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; -- cgit v1.2.3