Small patch from James Clark, fixes underscore handling in the SGML
declaration parsing.
This commit is contained in:
parent
c511749bdc
commit
577c232451
@ -955,7 +955,8 @@ UNCH *tbuf;
|
||||
if (c < 0)
|
||||
bad = 1;
|
||||
else if ((char_flags[c] & (CHAR_SIGNIFICANT | CHAR_MAGIC))
|
||||
&& c != '.' && c != '-') {
|
||||
&& c != '.' && c != '-'
|
||||
&& !(c == '_' && i >= 2)) {
|
||||
int class = lextoke[c];
|
||||
if (class == SEP || class == SP || class == NMC
|
||||
|| class == NMS || class == NU)
|
||||
|
Loading…
Reference in New Issue
Block a user