lawrencejohnston/Pleasant3D — Issue #9: GCode parsing should ignore comments
Author: lawrencejohnston
Created: 2012-02-06 00:05:11+00:00
State: open

I believe that as currently written it may cause issues if the line contains a comment which contains a character being scanned for which is not present earlier in the line.

e.g.:
G1 X10 Y10 ; E12 <- this should not be treated as an extrusion because it is in a comment.

One way to do this is to strip out any comments before the scanner is created from the line.