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:
0ba899a
)
Correct bug in check_token: line length should be reset to 0.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 11 Jan 2003 17:23:22 +0000
(17:23 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 11 Jan 2003 17:23:22 +0000
(17:23 +0000)
gedcom/gedcom_1byte.lex
patch
|
blob
|
history
diff --git
a/gedcom/gedcom_1byte.lex
b/gedcom/gedcom_1byte.lex
index 42e7cb82453bce723dc5863e956d4e0ab1ef5676..7c47f18a461a32c78f68e25c241965f336c56fea 100644
(file)
--- a/
gedcom/gedcom_1byte.lex
+++ b/
gedcom/gedcom_1byte.lex
@@
-230,6
+230,7
@@
int gedcom_check_token(const char* str, ParseState state, int check_token)
yy_delete_buffer(YY_CURRENT_BUFFER);
buffer = yy_scan_string(str);
+ INIT_LINE_LEN;
if (state == STATE_NORMAL)
BEGIN(NORMAL);
else if (state == STATE_INITIAL)