mcous / gerber-parser

gerber-parser development moved to tracespace/tracespace
https://github.com/tracespace/tracespace
MIT License
16 stars 11 forks source link

Cannot match Format Spec command with extra characters #11

Closed mcous closed 8 years ago

mcous commented 8 years ago

Per mcous/gerber-to-svg#32, if an otherwise valid FS command has extra characters (e.g. %FSLAN2X34Y34*%), the parser will miss the format specification.

The FS matcher should be a little more lenient to allow for these out-of-spec commands because they happen in real life.

mcous commented 8 years ago

Released as v1.0.5