summaryrefslogtreecommitdiff
path: root/src/parser/antlr_input.cpp
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-05-03 21:25:47 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-05-03 21:25:47 +0000
commit2673b70e8d31d42b4e2b7ec7d2edd3f28b1dac14 (patch)
tree3353f507db215b68d759327589f8c377cc70471f /src/parser/antlr_input.cpp
parent09b5745fa1a2fcdc6b8d0a0d31c1ba34c96d67f0 (diff)
Small mistake in previous commit
Diffstat (limited to 'src/parser/antlr_input.cpp')
-rw-r--r--src/parser/antlr_input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/antlr_input.cpp b/src/parser/antlr_input.cpp
index b6f10ab25..5a34354e8 100644
--- a/src/parser/antlr_input.cpp
+++ b/src/parser/antlr_input.cpp
@@ -198,7 +198,7 @@ void AntlrInput::setAntlr3Lexer(pANTLR3_LEXER pLexer) {
// Override default lexer error reporting
d_lexer->rec->reportError = &lexerError;
// Override default nextToken function, just to prevent exceptions escaping.
- d_lexer->rec->state->tokSource->nextToken = &nextToken;
+ d_lexer->rec->state->tokSource->nextToken = &nextTokenStr;
}
void AntlrInput::setParser(Parser *parser) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback