else if (!PL_strcasecmp(t,"END")) {
else if (!nsCRT::strcasecmp(t,"END")) {
static int yylex() {/*  int token = 0; */    int lexmode = LEXMODE();    if (lexmode == L_VALUES) {	int c = lexGetc();	if (c == ';') {	    DBG_(("db: SEMICOLON\n"));#ifdef _SUPPORT_LINE_FOLDING	    lexPushLookaheadc(c);	    handleMoreRFC822LineBreak(c);	    lexSkipLookahead();#endif	    return SEMICOLON;	    }	else if (PL_strchr("\n",c)) {	    ++mime_lineNum;	    /* consume all line separator(s) adjacent to each other */	    c = lexLookahead();	    while (PL_strchr("\n",c)) {		lexSkipLookahead();		c = lexLookahead();		++mime_lineNum;		}	    DBG_(("db: LINESEP\n"));	    return LINESEP;	    }	else {	    char *p = 0;	    lexPushLookaheadc(c);	    if (lexWithinMode(L_BASE64)) {		/* get each char and convert to bin on the fly... */		p = lexGetDataFromBase64();		yylval.str = p;		return STRING;		}	    else if (lexWithinMode(L_QUOTED_PRINTABLE)) {		p = lexGetQuotedPrintable();		}	    else {#ifdef _SUPPORT_LINE_FOLDING		p = lexGet1Value();#else		p = lexGetStrUntil(";\n");#endif		}	    if (p) {		DBG_(("db: STRING: '%s'\n", p));		yylval.str = p;		return STRING;		}	    else return 0;	    }	}    else {	/* normal mode */	while (1) {	    int c = lexGetc();	    switch(c) {		case ':': {		    /* consume all line separator(s) adjacent to each other */		    /* ignoring linesep immediately after colon. */		    c = lexLookahead();		    while (PL_strchr("\n",c)) {			lexSkipLookahead();			c = lexLookahead();			++mime_lineNum;			}		    DBG_(("db: COLON\n"));		    return COLON;		    }		case ';':		    DBG_(("db: SEMICOLON\n"));		    return SEMICOLON;		case '=':		    DBG_(("db: EQ\n"));		    return EQ;		/* ignore whitespace in this mode */		case '\t':		case ' ': continue;		case '\n': {		    ++mime_lineNum;		    continue;		    }		case EOF: return 0;		    break;		default: {		    lexPushLookaheadc(c);		    if (IS_ALPHA(c)) {			char *t = lexGetWord();			yylval.str = t;			if (!PL_strcasecmp(t, "BEGIN")) {			    return match_begin_end_name(0);			    }			else if (!PL_strcasecmp(t,"END")) {			    return match_begin_end_name(1);			    }		        else {			    DBG_(("db: ID '%s'\n", t));			    return ID;			    }			}		    else {			/* unknow token */			return 0;			}		    break;		    }		}	    }	}    return 0;    }