search for: curlineno

Displaying 1 result from an estimated 1 matches for "curlineno".

Did you mean: curline
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
...EOF again. return EOF; case '\n': case '\r': @@ -180,24 +180,24 @@ int LLLexer::getNextChar() { if ((*CurPtr == '\n' || (*CurPtr == '\r')) && *CurPtr != CurChar) ++CurPtr; // Eat the two char newline sequence. - + ++CurLineNo; return '\n'; - } + } } int LLLexer::LexToken() { TokStart = CurPtr; - + int CurChar = getNextChar(); - + switch (CurChar) { default: // Handle letters: [a-zA-Z_] if (isalpha(CurChar) || CurChar == '_') return LexIdentifier(); - +...