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:
960e063
)
Graceful error handling on bogus input.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sun, 17 Mar 2002 14:38:29 +0000
(14:38 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sun, 17 Mar 2002 14:38:29 +0000
(14:38 +0000)
gedcom/gedcom.y
patch
|
blob
|
history
diff --git
a/gedcom/gedcom.y
b/gedcom/gedcom.y
index e4d8a70dca7a9493378aed6758ec7db568ddc5cc..48847192e1ed1ed8a7d0d1b8e7abdb3bdd848923 100644
(file)
--- a/
gedcom/gedcom.y
+++ b/
gedcom/gedcom.y
@@
-420,6
+420,8
@@
int compat_mode(int flags);
file : head_sect records trlr_sect
{ if (fail == 1) YYABORT; }
+ | error
+ { }
;
records : /* empty */