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:
09fb15d
)
Don't allow the parser to continue if the conversion context couldn't be
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Tue, 15 Jan 2002 17:45:42 +0000
(17:45 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Tue, 15 Jan 2002 17:45:42 +0000
(17:45 +0000)
opened.
gedcom/gedcom.y
patch
|
blob
|
history
diff --git
a/gedcom/gedcom.y
b/gedcom/gedcom.y
index 3302c1b808fa718eab3af3e93aeae6f7992ce75b..fcffbd4dbffc70a429561e27e5c4b1713e455be0 100644
(file)
--- a/
gedcom/gedcom.y
+++ b/
gedcom/gedcom.y
@@
-761,7
+761,9
@@
head_gedc_form_sect : OPEN DELIM TAG_FORM mand_line_item
/* HEAD.CHAR */
head_char_sect : OPEN DELIM TAG_CHAR mand_line_item
- { if (open_conv_to_internal($4) == 0) YYERROR;
+ { /* Don't allow to continue if conversion context couldn't
+ be opened */
+ if (open_conv_to_internal($4) == 0) YYABORT;
$<ctxt>$ = start_element(ELT_HEAD_CHAR,
PARENT, $1, $3, $4,
GEDCOM_MAKE_STRING(val1, $4));