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:
ddc3f9b
)
Change encoding on HEAD.CHAR tag.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 24 Nov 2001 22:26:08 +0000
(22:26 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 24 Nov 2001 22:26:08 +0000
(22:26 +0000)
gedcom.y
patch
|
blob
|
history
diff --git
a/gedcom.y
b/gedcom.y
index 8aad4fd9f02ed3726ac82eaf78c800fbc3568f65..b54286cb2aa35625fececb788d9a7e08415fb30a 100644
(file)
--- a/
gedcom.y
+++ b/
gedcom.y
@@
-123,6
+123,7
@@
%{
#include "gedcom.h"
#include "multilex.h"
+#include "encoding.h"
int count_level = 0;
int fail = 0;
@@
-568,7
+569,8
@@
head_gedc_form_sect : OPEN DELIM TAG_FORM mand_line_item
/* HEAD.CHAR */
head_char_sect : OPEN DELIM TAG_CHAR mand_line_item
- { START(CHAR) }
+ { if (open_conv_to_internal($4) == 0) YYERROR;
+ START(CHAR) }
head_char_subs
{ CHECK0 }
CLOSE