Index: trunk/src_plugins/import_gerb/geparse.c =================================================================== --- trunk/src_plugins/import_gerb/geparse.c (revision 780) +++ trunk/src_plugins/import_gerb/geparse.c (revision 781) @@ -293,11 +293,15 @@ do { \ int __c__; \ READ(_ctx_, __c__); \ - if (__c__ != 'D') { \ - _ctx_->errmsg = "Expected 'D' for aperture ID"; \ - return GEP_ERROR; \ + if (__c__ != '*') { \ + if (__c__ != 'D') { \ + _ctx_->errmsg = "Expected 'D' for aperture ID"; \ + return GEP_ERROR; \ + } \ + READ_NUM(_ctx_, _aid_); \ } \ - READ_NUM(_ctx_, _aid_); \ + else \ + _aid_ = 10; \ } while(0) /* Append a macro name into a gds string, utnil endchr or '*' (endchr is not consumed) */