Index: io_bxl/Makefile =================================================================== --- io_bxl/Makefile (revision 30582) +++ io_bxl/Makefile (revision 30583) @@ -4,7 +4,7 @@ CFLAGS = -g -Wall -I$(PLG) -I$(ROOT)/src -I$(ROOT)/src_3rd -I$(ROOT) LDFLAGS = -lm -test_parse: test_parse.o $(PLG)/bxl_lex.o $(PLG)/bxl_gram.o $(ROOT)/src/librnd-hid.a $(ROOT)/src/librnd-3rd.a +test_parse: test_parse.o glue.o $(PLG)/bxl_lex.o $(PLG)/bxl_gram.o $(ROOT)/src/librnd-hid.a $(ROOT)/src/librnd-3rd.a $(PLG)/bxl_lex.c $(PLG)/bxl_lex.h: $(PLG)/bxl_lex.ul $(PLG)/bxl_gram.h $(PLG)/bxl.h ureglex -l $(PLG)/bxl_lex.ul -c $(PLG)/bxl_lex.c -h $(PLG)/bxl_lex.h Index: io_bxl/glue.c =================================================================== --- io_bxl/glue.c (nonexistent) +++ io_bxl/glue.c (revision 30583) @@ -0,0 +1,9 @@ +#include "bxl.h" + +void pcb_bxl_pattern_begin(pcb_bxl_ctx_t *ctx, const char *name) {} +void pcb_bxl_pattern_end(pcb_bxl_ctx_t *ctx) {} +void pcb_bxl_reset(pcb_bxl_ctx_t *ctx) {} +void pcb_bxl_set_layer(pcb_bxl_ctx_t *ctx, const char *layer_name) {} +void pcb_bxl_set_coord(pcb_bxl_ctx_t *ctx, int idx, pcb_coord_t val) {} +void pcb_bxl_add_line(pcb_bxl_ctx_t *ctx) {} +