Fix more bustage. Bug 239079. I wish gcc would at least warn on this or

something instead of merrily compiling it....


git-svn-id: svn://10.0.0.236/trunk@154494 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2004-04-03 19:01:38 +00:00
parent 301d9e44e1
commit 3f597c2555
4 changed files with 24 additions and 12 deletions

View File

@ -58,6 +58,12 @@
#define BUFFER_SIZE 256
static const PRUnichar CSS_ESCAPE = PRUnichar('\\');
const PRUint8 nsCSSScanner::IS_DIGIT = 0x01;
const PRUint8 nsCSSScanner::IS_HEX_DIGIT = 0x02;
const PRUint8 nsCSSScanner::IS_ALPHA = 0x04;
const PRUint8 nsCSSScanner::START_IDENT = 0x08;
const PRUint8 nsCSSScanner::IS_IDENT = 0x10;
const PRUint8 nsCSSScanner::IS_WHITESPACE = 0x20;
static PRBool gLexTableSetup = PR_FALSE;
PRUint8 nsCSSScanner::gLexTable[256];

View File

@ -205,12 +205,12 @@ protected:
nsString mError;
#endif
static const PRUint8 IS_DIGIT = 0x01;
static const PRUint8 IS_HEX_DIGIT = 0x02;
static const PRUint8 IS_ALPHA = 0x04;
static const PRUint8 START_IDENT = 0x08;
static const PRUint8 IS_IDENT = 0x10;
static const PRUint8 IS_WHITESPACE = 0x20;
static const PRUint8 IS_DIGIT;
static const PRUint8 IS_HEX_DIGIT;
static const PRUint8 IS_ALPHA;
static const PRUint8 START_IDENT;
static const PRUint8 IS_IDENT;
static const PRUint8 IS_WHITESPACE;
static PRUint8 gLexTable[256];
static void BuildLexTable();

View File

@ -58,6 +58,12 @@
#define BUFFER_SIZE 256
static const PRUnichar CSS_ESCAPE = PRUnichar('\\');
const PRUint8 nsCSSScanner::IS_DIGIT = 0x01;
const PRUint8 nsCSSScanner::IS_HEX_DIGIT = 0x02;
const PRUint8 nsCSSScanner::IS_ALPHA = 0x04;
const PRUint8 nsCSSScanner::START_IDENT = 0x08;
const PRUint8 nsCSSScanner::IS_IDENT = 0x10;
const PRUint8 nsCSSScanner::IS_WHITESPACE = 0x20;
static PRBool gLexTableSetup = PR_FALSE;
PRUint8 nsCSSScanner::gLexTable[256];

View File

@ -205,12 +205,12 @@ protected:
nsString mError;
#endif
static const PRUint8 IS_DIGIT = 0x01;
static const PRUint8 IS_HEX_DIGIT = 0x02;
static const PRUint8 IS_ALPHA = 0x04;
static const PRUint8 START_IDENT = 0x08;
static const PRUint8 IS_IDENT = 0x10;
static const PRUint8 IS_WHITESPACE = 0x20;
static const PRUint8 IS_DIGIT;
static const PRUint8 IS_HEX_DIGIT;
static const PRUint8 IS_ALPHA;
static const PRUint8 START_IDENT;
static const PRUint8 IS_IDENT;
static const PRUint8 IS_WHITESPACE;
static PRUint8 gLexTable[256];
static void BuildLexTable();