Nabble has removed Mailing-list integration.
Posts created here DO NOT GET SENT TO THE MAILING LIST.
Mailing-list emails DO NOT GET POSTED TO THE FORUM.
So basically the Forum is now out of date, we are looking into migrating the history.

For now you should send emails, people will see them, discuss@lists.openscad.org.

[Openscad] Bug: line 354 of parser.y

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

[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
|

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