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
Definition of SUB_MAKEFUNC.
[gedcom-parse.git]
/
gedcom
/
gedcom_lex_common.c
diff --git
a/gedcom/gedcom_lex_common.c
b/gedcom/gedcom_lex_common.c
index 902225f2f64b678827152cf8dc210ddf83d12059..779af3bde742a0ab1366c89ecad485000d40b956 100644
(file)
--- a/
gedcom/gedcom_lex_common.c
+++ b/
gedcom/gedcom_lex_common.c
@@
-29,7
+29,6
@@
#include "gedcom.h"
#include "gedcom.tabgen.h"
#include "compat.h"
#include "gedcom.h"
#include "gedcom.tabgen.h"
#include "compat.h"
-#include "utf8.h"
static size_t encoding_width;
static int current_level = -1;
static size_t encoding_width;
static int current_level = -1;
@@
-47,7
+46,6
@@
static struct conv_buffer* str_buffer = NULL;
#ifdef LEXER_TEST
YYSTYPE gedcom_lval;
int line_no = 1;
#ifdef LEXER_TEST
YYSTYPE gedcom_lval;
int line_no = 1;
-int compat_at = 0;
int gedcom_lex();
int gedcom_lex();
@@
-362,7
+360,7
@@
static int dummy_conv = 0;
}
#define ACTION_NORMAL_AT \
}
#define ACTION_NORMAL_AT \
- { if (compat_
at) {
\
+ { if (compat_
mode(C_NO_DOUBLE_AT)) {
\
int i, j; \
char *yycopy = strdup(yytext); \
if (yycopy) { \
int i, j; \
char *yycopy = strdup(yytext); \
if (yycopy) { \