summaryrefslogtreecommitdiff
path: root/src/fspec/ragel/lexer-expr.rl
diff options
context:
space:
mode:
Diffstat (limited to 'src/fspec/ragel/lexer-expr.rl')
-rw-r--r--src/fspec/ragel/lexer-expr.rl6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fspec/ragel/lexer-expr.rl b/src/fspec/ragel/lexer-expr.rl
index 2975043..0f1f83d 100644
--- a/src/fspec/ragel/lexer-expr.rl
+++ b/src/fspec/ragel/lexer-expr.rl
@@ -66,11 +66,7 @@ pop(char cur, char *mstack, size_t open)
bitwise_operators = '&' | '|' | '^' | '<<' | '>>';
main := |*
- '+' => op;
- '/' => op;
- '*' => op;
- '-' => op;
- '^' => op;
+ calc_operators => op;
stack_num => { mstack[open++] = fc;};
'(' => { };
')' => { };