diff options
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | src/expressions.cpp | 5 |
2 files changed, 2 insertions, 4 deletions
@@ -7,7 +7,6 @@ Known Bugs: * Scintilla/Scinterm: sometimes <TAB> indents too much (see e.g. state declarations) * adding a new buffer with syntax highlighting screws up styles: obviously they are attached to the view instead of the document - * crashes: 1<(C)> * reversing EWfilename$ (save as) does not work! * crashes on large files: S^EM^X$ (regexp: .*) diff --git a/src/expressions.cpp b/src/expressions.cpp index 03febf1..87785a7 100644 --- a/src/expressions.cpp +++ b/src/expressions.cpp @@ -176,9 +176,6 @@ Expressions::eval(bool pop_brace) gint n = first_op(); Operator op; - if (n < 2) - break; - op = operators.peek(n); if (op == OP_LOOP) break; @@ -187,6 +184,8 @@ Expressions::eval(bool pop_brace) pop_op(n); break; } + if (n < 2) + break; calc(); } |