Index: work/alien_formats/eagle/eagle_bin/test_parser/eagle_bin.c =================================================================== --- work/alien_formats/eagle/eagle_bin/test_parser/eagle_bin.c (revision 9204) +++ work/alien_formats/eagle/eagle_bin/test_parser/eagle_bin.c (revision 9205) @@ -13,7 +13,6 @@ typedef enum { T_BMB, /* bit-mask-bool: apply the bitmask in 'len' to the the byte at offs and use the result as a boolean */ T_UBF, /* unsigned bitfield; offset is the first byte in block[], len is a BITFIELD() */ - T_SIN, /* signed int */ T_INT, T_DBL, T_STR @@ -344,7 +343,20 @@ { /* attributes */ {"layer", T_INT, 3, 1}, {"width_2", T_INT, 20, 2}, + {"stflags", T_BMB, 22, 0x20}, {"linetype", T_INT, 23, 1}, + {"linetype_0_x1", T_INT, 4, 4}, + {"linetype_0_y1", T_INT, 8, 4}, + {"linetype_0_x2", T_INT, 12, 4}, + {"linetype_0_y2", T_INT, 16, 4}, + {"linetype_129_negflags", T_INT, 19, 1}, + {"linetype_129_c1", T_INT, 7, 1}, + {"linetype_129_c2", T_INT, 11, 1}, + {"linetype_129_c3", T_INT, 15, 1}, + {"linetype_129_x1", T_INT, 4, 3}, + {"linetype_129_y1", T_INT, 8, 3}, + {"linetype_129_x2", T_INT, 12, 3}, + {"linetype_129_y2", T_INT, 16, 3}, TERM }, }, @@ -360,6 +372,18 @@ {"width_2", T_INT, 20, 2}, {"clockwise", T_BMB, 22, 0x20}, {"arctype", T_INT, 23, 1}, + {"arctype_0_negflags", T_INT, 19, 1}, + {"arctype_0_c1", T_INT, 7, 1}, + {"arctype_0_c2", T_INT, 11, 1}, + {"arctype_0_c3", T_INT, 15, 1}, + {"arctype_0_x1", T_INT, 4, 3}, + {"arctype_0_y1", T_INT, 8, 3}, + {"arctype_0_x2", T_INT, 12, 3}, + {"arctype_0_y2", T_INT, 16, 3}, + {"arctype_other_x1", T_INT, 4, 4}, + {"arctype_other_y1", T_INT, 8, 4}, + {"arctype_other_x2", T_INT, 12, 4}, + {"arctype_other_y2", T_INT, 16, 4}, TERM }, }, @@ -884,8 +908,6 @@ case T_UBF: printf("%s %s=%ld\n", ind, at->name, load_ubf(block, at->offs, at->len)); break; - case T_SIN: - printf("%s %s=%ld\n", ind, at->name, load_slong(block, at->offs, at->len)); case T_INT: printf("%s %s=%ld\n", ind, at->name, load_long(block, at->offs, at->len)); break;