From 242c3f42251a02789d3bafaf67d0466aec951364 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Thu, 20 Feb 2014 20:21:17 +0000 Subject: [PATCH] math parser: operator precedence fix --- latan/MathParser.ypp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latan/MathParser.ypp b/latan/MathParser.ypp index a55144a..681be81 100644 --- a/latan/MathParser.ypp +++ b/latan/MathParser.ypp @@ -53,8 +53,8 @@ %left '=' %left '+' '-' %left '*' '/' -%left '^' %nonassoc UMINUS +%left '^' %type stmt stmt_list expr func_args