cameo/excellon.c: recognize G90 code (absolute mode)

Recent KiCad emits this. We're in absolute mode anyway, so we simply
ignore it.
This commit is contained in:
Werner Almesberger 2012-04-01 19:26:46 -03:00
parent 479ae41070
commit 8ce420b10b
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,8 @@
/*
* excellon.c - KiCad drill file input
*
* Written 2010-2011 by Werner Almesberger
* Copyright 2010-2011 Werner Almesberger
* Written 2010-2012 by Werner Almesberger
* Copyright 2010-2012 Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -194,6 +194,8 @@ static int do_cmd(char cmd, double v, int nl, const char *name)
x0 = x;
slotting = 1;
break;
case 90: /* absolute mode */
break;
default:
fprintf(stderr,
"unrecognized command G%d at line %d\n",