X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2Fgedcom_lex_common.c;h=779af3bde742a0ab1366c89ecad485000d40b956;hb=a6ae7b8ee65f561b8ba9b189cf3e9504831621da;hp=f2fe44afeebf40290175267f3dedefdc4fc33a80;hpb=b36e33a2c0f64b90622db8e59f5664b2a0b4dbc6;p=gedcom-parse.git diff --git a/gedcom/gedcom_lex_common.c b/gedcom/gedcom_lex_common.c index f2fe44a..779af3b 100644 --- a/gedcom/gedcom_lex_common.c +++ b/gedcom/gedcom_lex_common.c @@ -46,7 +46,6 @@ static struct conv_buffer* str_buffer = NULL; #ifdef LEXER_TEST YYSTYPE gedcom_lval; int line_no = 1; -int compat_at = 0; int gedcom_lex(); @@ -361,7 +360,7 @@ static int dummy_conv = 0; } #define ACTION_NORMAL_AT \ - { if (compat_at) { \ + { if (compat_mode(C_NO_DOUBLE_AT)) { \ int i, j; \ char *yycopy = strdup(yytext); \ if (yycopy) { \