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
*** empty log message ***
[gedcom-parse.git]
/
gedcom
/
gedcom_lex_common.c
diff --git
a/gedcom/gedcom_lex_common.c
b/gedcom/gedcom_lex_common.c
index 93c26f3bf6197f4e772f80b154b3d1297dd9f33d..e1c17bb78b12dfb89b510a086d4cdc5d1282d7f4 100644
(file)
--- a/
gedcom/gedcom_lex_common.c
+++ b/
gedcom/gedcom_lex_common.c
@@
-97,7
+97,7
@@
int test_loop(ENCODING enc, char* code)
{ if (line_len != (size_t)-1) { \
line_len += strlen(yytext); \
if (line_len > MAXGEDCLINELEN * encoding_width) { \
{ if (line_len != (size_t)-1) { \
line_len += strlen(yytext); \
if (line_len > MAXGEDCLINELEN * encoding_width) { \
- gedcom_error(_("Line too long, max %d characters
"),
\
+ gedcom_error(_("Line too long, max %d characters
allowed"),
\
MAXGEDCLINELEN); \
line_len = (size_t)-1; \
return BADTOKEN; \
MAXGEDCLINELEN); \
line_len = (size_t)-1; \
return BADTOKEN; \
@@
-170,7
+170,7
@@
int test_loop(ENCODING enc, char* code)
#define ACTION_0_DIGITS \
#define ACTION_0_DIGITS \
- { gedcom_error (_("Level number with leading zero
"));
\
+ { gedcom_error (_("Level number with leading zero
not allowed"));
\
return BADTOKEN; \
}
return BADTOKEN; \
}
@@
-206,7
+206,7
@@
int test_loop(ENCODING enc, char* code)
#define ACTION_ALPHANUM \
{ if (strlen(yytext) > MAXGEDCTAGLEN * encoding_width) { \
#define ACTION_ALPHANUM \
{ if (strlen(yytext) > MAXGEDCTAGLEN * encoding_width) { \
- gedcom_error(_("Tag '%s' too long, max %d characters
"),
\
+ gedcom_error(_("Tag '%s' too long, max %d characters
allowed"),
\
yytext, MAXGEDCTAGLEN); \
return BADTOKEN; \
} \
yytext, MAXGEDCTAGLEN); \
return BADTOKEN; \
} \
@@
-248,7
+248,7
@@
int test_loop(ENCODING enc, char* code)
#define ACTION_POINTER \
{ CHECK_LINE_LEN; \
if (strlen(yytext) > MAXGEDCPTRLEN * encoding_width) { \
#define ACTION_POINTER \
{ CHECK_LINE_LEN; \
if (strlen(yytext) > MAXGEDCPTRLEN * encoding_width) { \
- gedcom_error(_("Pointer '%s' too long, max %d characters
"),
\
+ gedcom_error(_("Pointer '%s' too long, max %d characters
allowed"),
\
yytext, MAXGEDCPTRLEN); \
return BADTOKEN; \
} \
yytext, MAXGEDCPTRLEN); \
return BADTOKEN; \
} \