summaryrefslogtreecommitdiff
path: root/gerber/tests/resources
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-05-21 16:15:55 -0300
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-05-21 16:15:55 -0300
commitaff36a4dca0d2d06b00c5f1e1a0703400fbe3b6b (patch)
tree72c356d57627e5523b417aff44df5d9dca16ab88 /gerber/tests/resources
parent2fe5f36db233e6c45e0d6b2443b025baf173211e (diff)
downloadgerbonara-aff36a4dca0d2d06b00c5f1e1a0703400fbe3b6b.tar.gz
gerbonara-aff36a4dca0d2d06b00c5f1e1a0703400fbe3b6b.tar.bz2
gerbonara-aff36a4dca0d2d06b00c5f1e1a0703400fbe3b6b.zip
Fix multiline read of mixed statements (%XXX*% followed by DNN*)
We now check if there is a %XXX*% command inside the line before considering it a multiline statement.
Diffstat (limited to 'gerber/tests/resources')
-rw-r--r--gerber/tests/resources/multiline_read.ger9
1 files changed, 9 insertions, 0 deletions
diff --git a/gerber/tests/resources/multiline_read.ger b/gerber/tests/resources/multiline_read.ger
new file mode 100644
index 0000000..02242e4
--- /dev/null
+++ b/gerber/tests/resources/multiline_read.ger
@@ -0,0 +1,9 @@
+G75*
+G71*
+%OFA0B0*%
+%FSLAX23Y23*%
+%IPPOS*%
+%LPD*%
+%ADD10C,0.1*%
+%LPD*%D10*
+M02* \ No newline at end of file