Small patch from James Clark, fixes underscore handling in the SGML

declaration parsing.
This commit is contained in:
jfieber 1996-05-20 05:06:47 +00:00
parent 92f8f3c6af
commit 6aebe8c012

View File

@ -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)