From 84f96f49d14f1bae8a7f58a25bfd3b0f9d31f34b Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 25 Jan 2003 14:14:27 +0000 Subject: [PATCH 1/1] Pass encoding terminator to encoding state. --- gedcom/gedcom_lex_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gedcom/gedcom_lex_common.c b/gedcom/gedcom_lex_common.c index 4949346..703a9de 100644 --- 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); \ } -- 2.30.2