Index: trunk/tests/pcb-printf/Makefile =================================================================== --- trunk/tests/pcb-printf/Makefile (revision 9474) +++ trunk/tests/pcb-printf/Makefile (revision 9475) @@ -7,7 +7,7 @@ GDS= $(TRUNK)/src_3rd/genvector/gds_char.o LIBPCB_BASE= $(SRC)/unit.o $(SRC)/compat_misc.o -all: tester tester_spd prcli +all: tester tester_spd prcli prclimq ROOT=../.. include $(ROOT)/Makefile.conf @@ -18,8 +18,12 @@ prcli: prcli.o $(SRC)/pcb-printf.o $(SRC)/misc_util.o $(LIBPCB_BASE) $(GDS) +prclimq: prclimq.o $(SRC)/pcb-printf.o $(SRC)/misc_util.o $(LIBPCB_BASE) $(GDS) + prcli.o: prcli.c +prclimq.o: prclimq.c + tester: tester.o $(SRC)/pcb-printf.o $(LIBPCB_BASE) $(GDS) $(CC) $(LDFLAGS) -o tester tester.o $(SRC)/pcb-printf.o $(LIBPCB_BASE) $(GDS) $(LDLIBS) Index: trunk/tests/pcb-printf/prclimq.c =================================================================== --- trunk/tests/pcb-printf/prclimq.c (nonexistent) +++ trunk/tests/pcb-printf/prclimq.c (revision 9475) @@ -0,0 +1,12 @@ +#include +#include "misc_util.h" +#include "pcb-printf.h" +#include "pcb_bool.h" + +int main(int argc, char *argv[]) +{ + pcb_printf_slot[0] = "%{ ()}mq"; + pcb_fprintf(stdout, argv[1], argv[2]); + printf("\n"); + return 0; +}