EXTRA_PROGRAMS = lexer_1byte lexer_hilo lexer_lohi
lexer_1byte_SOURCES =
-lexer_1byte_LDADD = lex.gedcom_1byte_.test.o message.o encoding.o
+lexer_1byte_LDADD = lex.gedcom_1byte_.test.o message.o encoding.o hash.o
lexer_hilo_SOURCES =
-lexer_hilo_LDADD = lex.gedcom_hilo_.test.o message.o encoding.o
+lexer_hilo_LDADD = lex.gedcom_hilo_.test.o message.o encoding.o hash.o
lexer_lohi_SOURCES =
-lexer_lohi_LDADD = lex.gedcom_lohi_.test.o message.o encoding.o
+lexer_lohi_LDADD = lex.gedcom_lohi_.test.o message.o encoding.o hash.o
lex.gedcom_1byte_.test.o: lex.gedcom_1byte_.c
$(COMPILE) -DLEXER_TEST -c $(CPPFLAGS) $(CFLAGS) $< -o $@
void message_handler(Gedcom_msg_type type, char *msg)
{
- fprintf(stderr, msg);
+ fprintf(stderr, "(%d) %s\n", type, msg);
}
int test_loop(ENCODING enc, char* code)