diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-08-15 22:44:24 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-23 12:55:19 +0200 |
commit | de05c7f7d895d9903e69db8a0a9f7731f256b6a1 (patch) | |
tree | 22e738a96d98e4dfa1a3e273b4d7c5ea5c8fe89f /src/fspec/ragel/lexer-expr.rl | |
parent | f37d6a105aec1110839fd257c612ca1445047ce0 (diff) |
tmp
Diffstat (limited to 'src/fspec/ragel/lexer-expr.rl')
-rw-r--r-- | src/fspec/ragel/lexer-expr.rl | 6 |
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;}; '(' => { }; ')' => { }; |