diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-11 07:00:00 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-11 07:00:00 +0100 |
commit | 1962b1ff6571d3ed161abc44c7eb90cae7e85a1c (patch) | |
tree | 41502f1bb2de1b34b1f549d3b5e75624bbd549e9 /expressions.h | |
parent | aa5d7ac332d502eda854a69b3baa9bc6bb1293c6 (diff) | |
download | sciteco-1962b1ff6571d3ed161abc44c7eb90cae7e85a1c.tar.gz |
implemented F<, F>, F' and F| (flow) commands
Diffstat (limited to 'expressions.h')
-rw-r--r-- | expressions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/expressions.h b/expressions.h index e456449..ef41b15 100644 --- a/expressions.h +++ b/expressions.h @@ -157,6 +157,11 @@ public: Operator push(Operator op); Operator push_calc(Operator op); + inline Operator + peek_op(int index = 1) + { + return operators.peek(index); + } Operator pop_op(int index = 1); void eval(bool pop_brace = false); |