summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.y b/src/parser.y
index 4bae6a3..e339859 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -92,6 +92,8 @@ public:
%token LE GE EQ NE AND OR
+%right '?' ':'
+
%left OR
%left AND
@@ -103,8 +105,6 @@ public:
%left '[' ']'
%left '.'
-%right '?' ':'
-
%type <expr> expr
%type <expr> vector_expr
contact: Jan Huwald // Impressum