Take the following line:
G1 X 0.791 Y 0 F200
When running GcodeParser, this line appears as:
GcodeLine(command=('G', 1), params={'X': True, 'Y': True, 'F': 200}, comment='')
(boolean "True" instead of the value in the Gcode line)
Expected:
GcodeLine(command=('G', 1), params={'X': 0.791, 'Y': 0, 'F': 200}, comment='')
According to Tormach, "Spaces and tabs are allowed anywhere on a line of code and do not change the meaning of the line, except inside comments." From Duet3D, "Comments and white space will be ignored by RepRapFirmware when executing the GCode."