Keep parsed values in date if parse was OK, but no valid date.
[gedcom-parse.git] / gedcom / gedcom_internal.h
index 9807ecb759f22678807ada7d9f364fe8f0d410d7..804959a66915500691d8b4d0bf982fb9718e6e91 100644 (file)
 #include <config.h>
 #endif
 #include <libintl.h>
-#ifdef WITH_DMALLOC
-#include <dmalloc.h>
-#endif
 
-#define _(string) gettext(string)
+#define _(string) dgettext(PACKAGE, string)
 #define N_(string) (string)
 
 #define MAXGEDCLEVEL    99
@@ -73,6 +70,7 @@ int  gedcom_check_token(const char* str, ParseState state, int check_token);
 void gedcom_mem_error(const char *filename, int line);
 
 #define MEMORY_ERROR gedcom_mem_error(__FILE__, __LINE__)
+#define VALUE_IF_MISSING "-" 
 
 extern int line_no;
 extern int init_called;