* Thanks @SCadilhac
This commit is contained in:
Olof hagsand 2018-10-28 11:15:37 +01:00
parent 61869c8d44
commit 906763317b
5 changed files with 40 additions and 29 deletions

View file

@ -401,6 +401,8 @@ attr : NAME '=' attvalue { if (xml_parse_attr(_YA, NULL, $1, $3)
attvalue : '\"' CHARDATA '\"' { $$=$2; /* $2 must be consumed */}
| '\"' '\"' { $$=strdup(""); /* $2 must be consumed */}
| '\'' CHARDATA '\'' { $$=$2; /* $2 must be consumed */}
| '\'' '\'' { $$=strdup(""); /* $2 must be consumed */}
;
%%