Small patch from James Clark, fixes underscore handling in the SGML
declaration parsing.
This commit is contained in:
parent
92f8f3c6af
commit
6aebe8c012
@ -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