aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-11 07:24:04 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-11 07:24:04 +0100
commitef8196da650f70758e1366cb7be1a799f1455f8e (patch)
tree7ac2b2e2e8e88aa80386b21a2c8975b0a06d2827 /parser.h
parent1962b1ff6571d3ed161abc44c7eb90cae7e85a1c (diff)
downloadsciteco-ef8196da650f70758e1366cb7be1a799f1455f8e.tar.gz
implemented conditionals (<n>"x...|...')
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h9
1 files changed, 9 insertions, 0 deletions
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;