Separate the modification of GCONV_PATH from the rest of the initialization,
[gedcom-parse.git] / gedcom / gedcom_lex_common.c
index 8e83d04555b2f5cff0e734224238032182551ec5..9e53de5adc0cd3fa31a16175c1ed81d25c27e79f 100644 (file)
@@ -48,7 +48,7 @@ int gedcom_lex();
 
 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)