Bugs item #3420655, was opened at 2011-10-08 14:45
Message generated for change (Comment added) made by seb_kuzminsky
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: Closed
>Resolution: Fixed
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


----------------------------------------------------------------------

>Comment By: Sebastian Kuzminsky (seb_kuzminsky)
Date: 2011-10-25 14:28

Message:
Michael Haberler fixed this in commit
d13a4b55c9d1ebd5caf633225604d25d7fb05ea6, which went in to 2.4.7.  It was
merged from there to the 2.5 branch and master.

Thanks to PasstScho for the bug report, and to Michael for the fix!

----------------------------------------------------------------------

Comment By: Michael Haberler (mahsofo)
Date: 2011-10-08 22:58

Message:
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


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3420655&group_id=6744

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to