dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b5e1e
)
Pass encoding terminator to encoding state.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 25 Jan 2003 14:14:27 +0000
(14:14 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 25 Jan 2003 14:14:27 +0000
(14:14 +0000)
gedcom/gedcom_lex_common.c
patch
|
blob
|
history
diff --git
a/gedcom/gedcom_lex_common.c
b/gedcom/gedcom_lex_common.c
index 4949346bb9b903a5f891e887b87ebd74aa1a18fe..703a9de9d3f21987ec3b22f51d267218603b596e 100644
(file)
--- a/
gedcom/gedcom_lex_common.c
+++ b/
gedcom/gedcom_lex_common.c
@@
-336,6
+336,8
@@
static int dummy_conv = 0;
#define ACTION_TERMINATOR \
{ CHECK_LINE_LEN; \
INIT_LINE_LEN; \
+ if (line_no == 1) \
+ set_encoding_terminator(TO_INTERNAL(yytext, str_buffer)); \
BEGIN(INITIAL); \
}