RS274NGC-style subprograms were once allowed to be placed before or after the main program. A regression snuck in with remap that disallowed subs following the main program.
This PR fixes subs following the main program, and adds a unit test.
评论 (4)
#2 – zultron 于 2016-08-20
Looks like this passed the buildbot, except two builders that say HAL: ERROR: version code mismatch.
#3 – cradek 于 2016-08-23
Thank you for this bugfix and test; I put it in 2.6.
#4 – zultron 于 2016-08-23
Thanks, @cradek. I see commit 2e52efef60793fea36df72c536ccc6b546cf5b19 in the 2.6 branch.
#1 – zultron 于 2016-08-19
Pushed to glo; I expect buildbot results to be here