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
Correct sub_note_end callback: parsed value can be NULL.
[gedcom-parse.git]
/
gedcom
/
gedcom_lex_common.c
diff --git
a/gedcom/gedcom_lex_common.c
b/gedcom/gedcom_lex_common.c
index 703a9de9d3f21987ec3b22f51d267218603b596e..68db840b4f645da43fcbd372fd474111bd95d99c 100644
(file)
--- a/
gedcom/gedcom_lex_common.c
+++ b/
gedcom/gedcom_lex_common.c
@@
-26,6
+26,7
@@
#include "gedcom_internal.h"
#include "multilex.h"
#include "encoding.h"
#include "gedcom_internal.h"
#include "multilex.h"
#include "encoding.h"
+#include "encoding_state.h"
#include "gedcom.h"
#include "gedcom.tabgen.h"
#include "compat.h"
#include "gedcom.h"
#include "gedcom.tabgen.h"
#include "compat.h"
@@
-337,7
+338,7
@@
static int dummy_conv = 0;
{ CHECK_LINE_LEN; \
INIT_LINE_LEN; \
if (line_no == 1) \
{ CHECK_LINE_LEN; \
INIT_LINE_LEN; \
if (line_no == 1) \
- set_
encoding_terminator(TO_INTERNAL(yytext, str_buffer));
\
+ set_
read_encoding_terminator(TO_INTERNAL(yytext, str_buffer));
\
BEGIN(INITIAL); \
}
BEGIN(INITIAL); \
}