diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-09 17:25:35 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-09 17:25:35 (GMT) |
commit | 4eafcadda1a568192cd431f88bcb44f8a90d950f (patch) | |
tree | f22bca03f8259478b22401e0221106f341941e0a | |
parent | dd817ad903b1c32f594482b8b2ae16ca30f86ef9 (diff) |
Clifford Wolf:
Fixed operator bindings (oops)
git-svn-id: http://svn.clifford.at/openscad/trunk@251 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r-- | examples/example017.scad | 6 | ||||
-rw-r--r-- | parser.y | 13 |
2 files changed, 11 insertions, 8 deletions
diff --git a/examples/example017.scad b/examples/example017.scad index 01cf491..1464128 100644 --- a/examples/example017.scad +++ b/examples/example017.scad @@ -91,7 +91,7 @@ module parts() shape_outer_disc(); for (s = [ [1,1], [-1,1], [1,-1] ]) - render() scale(s) translate([ tripod_x_off, -tripod_y_off ]) shape_tripod(); + scale(s) translate([ tripod_x_off, -tripod_y_off ]) shape_tripod(); } module exploded() @@ -139,6 +139,6 @@ module assembled() % translate([ 0, 0, thickness*2]) bottle(); } -// parts(); +parts(); // exploded(); -assembled(); +// assembled(); @@ -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 |