Quantcast

[Openscad] Bug: line 354 of parser.y

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Openscad] Bug: line 354 of parser.y

clothbot
Hi Clifford,

I've been scanning over the code trying to piece together why  
"<file.scad>" breaks for me and I think I spotted a (probably  
unrelated) bug in parser.y at line 354:

--snip--
         expr '>' expr {
                 $$ = new Expression();
                 $$->type = "<";
                 $$->children.append($1);
                 $$->children.append($3);
         } |
--end-snip--

...should probably be...

--snip--
         expr '>' expr {
                 $$ = new Expression();
                 $$->type = ">";
                 $$->children.append($1);
                 $$->children.append($3);
         } |
--end-snip--

Andrew.

--

"The future is already here.  It's just not very evenly distributed"  
-- William Gibson




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug: line 354 of parser.y

Clifford Wolf
Hi,

On Tue, Dec 01, 2009 at 10:31:18AM -0500, Andrew Plumb wrote:
> I've been scanning over the code trying to piece together why  
> "<file.scad>" breaks for me and I think I spotted a (probably  
> unrelated) bug in parser.y at line 354:

oops ;-)

thanks for the bug report. fixed in svn head.

yours,
 - clifford

--
"One of my most productive days was throwing away 1000 lines of code."
 - Ken Thompson

Loading...