1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

cameo: migrated Excellon reader from drl2gp

- Makefile (OBJS): added excellon.o
- README: added brief description of Excellon input
- excellon.h, excellon.c: adaptation of KiCad drill file reader from
  ../drl2gp/drl2gp.c
- lang.l, lang.y: added command "excellon" to read KiCad drill files
- gerber.h: removed stray newline
This commit is contained in:
Werner Almesberger
2010-12-15 03:27:55 -03:00
parent 26dc02ea57
commit 848eb2a209
7 changed files with 337 additions and 5 deletions

View File

@@ -51,6 +51,8 @@ NUM -?[0-9]+\.?[0-9]*
return TOK_GERBER; }
<INITIAL>gnuplot { file_name_follows = 1;
return TOK_GNUPLOT; }
<INITIAL>excellon { BEGIN(FILENAME);
return TOK_EXCELLON; }
<INITIAL>write { BEGIN(FILENAME);
return TOK_WRITE; }