summaryrefslogtreecommitdiff
path: root/parser.y
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-09 17:25:35 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-09 17:25:35 (GMT)
commit4eafcadda1a568192cd431f88bcb44f8a90d950f (patch)
treef22bca03f8259478b22401e0221106f341941e0a /parser.y
parentdd817ad903b1c32f594482b8b2ae16ca30f86ef9 (diff)
Clifford Wolf:
Fixed operator bindings (oops) git-svn-id: http://svn.clifford.at/openscad/trunk@251 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y13
1 files changed, 8 insertions, 5 deletions
diff --git a/parser.y b/parser.y
index f1c103c..c4cd3d4 100644
--- a/parser.y
+++ b/parser.y
@@ -71,14 +71,17 @@ public:
%token LE GE EQ NE AND OR
-%left '[' ']'
+%left OR
+%left AND
+
+%left '<' LE GE '>'
+%left EQ NE
+
%left '!' '+' '-'
%left '*' '/' '%'
+%left '[' ']'
%left '.'
-%left '<' LE GE '>'
-%left EQ NE
-%left AND
-%left OR
+
%right '?' ':'
%type <expr> expr
contact: Jan Huwald // Impressum