fixed bug 15881; r=kmcclusk

git-svn-id: svn://10.0.0.236/trunk@50170 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-10-07 23:52:29 +00:00
parent dee37d8ec6
commit 32ae9a79ff
2 changed files with 4 additions and 4 deletions

View File

@@ -34,8 +34,6 @@
static const char* gUserdefined = "userdefined";
const PRInt32 kMAXNAMELEN=10;
/**************************************************************
And now for the token classes...
@@ -1232,6 +1230,7 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, nsScanner& aScanner,PRInt32 a
else if(kGreaterThan==aChar){
result=aScanner.PutBack(aChar);
}
#if 0
else if(kAmpersand==aChar) {
mTextValue=aChar;
result=aScanner.GetChar(aChar);
@@ -1240,6 +1239,7 @@ nsresult CAttributeToken::Consume(PRUnichar aChar, nsScanner& aScanner,PRInt32 a
result=CEntityToken::ConsumeEntity(aChar,mTextValue,aScanner);
}
}
#endif
else {
mTextValue=aChar; //it's an alphanum attribute...
result=ConsumeAttributeValueText(aChar,mTextValue,aScanner);