From de05c7f7d895d9903e69db8a0a9f7731f256b6a1 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 15 Aug 2017 22:44:24 +0300 Subject: tmp --- src/fspec/ragel/lexer-expr.rl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/fspec/ragel/lexer-expr.rl') 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;}; '(' => { }; ')' => { }; -- cgit v1.2.3