On 10/27/15 1:38 PM, John Morris wrote:
> I have an unusual bug fix for review.  The commit [1] is based on
> glo/master, but should apply to branches as old as 2011.  The buildbot
> is chunking away on it [2] right now.  Thanks!
>
>       John
>
> [1]:
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=2afd00a2074f014f0aad1f34e1e4d34214379f3d

Hi John, nice to hear from you!  I hope you're well.


The test program in the commit message includes a nested comment, on the 
line it says to start running on.  This causes the interpreter to stop & 
error out when I try it:

> emc/task/emctask.cc 389: interp_error: Nested comment found
> Nested comment found
> Interpreter stack:       - int Interp::close_and_downcase(char*)  - int 
> Interp::read_text(const char*, FILE*, char*, char*, int*)  - int 
> Interp::_read(const char*)
> emcTaskPlanRead() returned 5
> emcTaskPlanClose() called at emc/task/emctaskmain.cc:768


If i change that comment to be valid, it runs fine as far as i can see. 
  I did my testing on 2.6.  I pushed a test using the new 
"motion-logger" testing framework, in a branch called 2.6-mountaindew. 
The test uses the correct syntax for the comment on line 5, and seems to 
me to have the correct behavior.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to