diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-02-02 21:00:02 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2010-02-02 21:00:02 +0000 |
commit | cea1eb23c8a0c8088bd1db9baad0567c3dbdbfa0 (patch) | |
tree | 76ab569a73e79045ed5cef223b28e963543df1c8 /src/parser/antlr_parser.h | |
parent | a8588cb23c5257bb11a70348346476b55317faa3 (diff) |
Rethrow rewrite in antlr_parser. Taking LT(0) to locate the error causes the build to break on 64-bit machines. Changed to LT(1), it works now, but i'll ask around how this actually works.
Diffstat (limited to 'src/parser/antlr_parser.h')
-rw-r--r-- | src/parser/antlr_parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/antlr_parser.h b/src/parser/antlr_parser.h index 5cbb7411e..3025d44da 100644 --- a/src/parser/antlr_parser.h +++ b/src/parser/antlr_parser.h @@ -114,7 +114,7 @@ protected: * @oaram check the kind of check to perform * @return true if the check holds */ - bool checkDeclation(std::string varName, DeclarationCheck check); + bool checkDeclaration(std::string varName, DeclarationCheck check); /** * Types of symbols. |