summaryrefslogtreecommitdiff
path: root/src/parser.y
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-03-11 09:25:31 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-03-11 09:25:31 (GMT)
commit54f2dbfdb48b3ed10a505f3b8e7f53abb85a3c13 (patch)
treed513fe49992536ae7858697b667537846cf44ddf /src/parser.y
parent871ca0961008dbba0d034bf193e6a190e02f4cd2 (diff)
Clifford Wolf:
Fixed binding of ? : operator git-svn-id: http://svn.clifford.at/openscad/trunk@483 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/parser.y')
-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