here is a tentative fix for this bug, and a regression test. I would appreciate 
a review.

http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/fix-do-break-while

I'm unable to update this tracker entry - I dont understand why

-mah


Am 08.10.2011 um 22:45 schrieb SourceForge.net:

> Bugs item #3420655, was opened at 2011-10-08 20:45
> Message generated for change (Tracker Item Submitted) made by nobody
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3420655&group_id=6744
> 
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: G-code Interpreter
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Nobody/Anonymous (nobody)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: do-while and "break" do not seem to work correct
> 
> Initial Comment:
> (22:30:32) (andypugh) PasstScho: I think you found a bug.
> (22:33:20) (andypugh) It all happens from line 646 onwards at 
> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/emc/rs274ngc/interp_o_word.cc;h=866516b8b531a9e3dbfe4737f99d534a5f4d8c34;hb=a4f10e63e9d4f4c0155dc400d24237af3acac199
> (22:34:38) (andypugh) "break" sets the mode to "skipping" , but "while" 
> always resets the mode. Basically it looks like it can't tell the difference 
> between a do-while and a while-endwhile when it gets to the while
> 
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3420655&group_id=6744
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to