dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increase library version
[gedcom-parse.git]
/
gedcom
/
gedcom.y
diff --git
a/gedcom/gedcom.y
b/gedcom/gedcom.y
index bd6ea1d3d922970796af5d9743cda8d69bcab726..e4482a5bfbaf1183f9ae0716075381d3ca01644b 100644
(file)
--- a/
gedcom/gedcom.y
+++ b/
gedcom/gedcom.y
@@
-4319,26
+4319,13
@@
void cleanup_usertag_buffer()
cleanup_buffer(&usertag_buffer);
}
cleanup_buffer(&usertag_buffer);
}
-/* Enabling debug mode */
-/* level 0: no debugging */
-/* level 1: only internal */
-/* level 2: also bison */
FILE* trace_output;
FILE* trace_output;
-void gedcom_
set_debug_level(int level, FILE* f
)
+void gedcom_
enable_internal_debug(
)
{
{
- if (f != NULL)
- trace_output = f;
- else
- trace_output = stderr;
- if (level > 0) {
- gedcom_high_level_debug = 1;
- }
- if (level > 1) {
#if YYDEBUG != 0
#if YYDEBUG != 0
-
gedcom_debug = 1;
+ gedcom_debug = 1;
#endif
#endif
- }
}
int gedcom_debug_print(const char* s, ...)
}
int gedcom_debug_print(const char* s, ...)
@@
-4353,9
+4340,3
@@
int gedcom_debug_print(const char* s, ...)
}
return(res);
}
}
return(res);
}
-
-/* Setting the error mechanism */
-void gedcom_set_error_handling(Gedcom_err_mech mechanism)
-{
- error_mechanism = mechanism;
-}