From ef8196da650f70758e1366cb7be1a799f1455f8e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 11 Nov 2012 07:24:04 +0100 Subject: implemented conditionals ("x...|...') --- parser.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'parser.h') diff --git a/parser.h b/parser.h index ed50e49..940dbd5 100644 --- a/parser.h +++ b/parser.h @@ -104,6 +104,14 @@ private: State *custom(gchar chr); }; +class StateCondCommand : public State { +public: + StateCondCommand(); + +private: + State *custom(gchar chr); +}; + class StateECommand : public State { public: StateECommand(); @@ -125,6 +133,7 @@ namespace States { extern StateStart start; extern StateControl control; extern StateFlowCommand flowcommand; + extern StateCondCommand condcommand; extern StateECommand ecommand; extern StateInsert insert; -- cgit v1.2.3