diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-02-16 18:07:41 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-02-16 18:07:41 +0000 |
commit | 48142c912d7571ee204b373eadf835c5b676af2c (patch) | |
tree | 5caf584809cf5b28882edfbcbc73e86efe7a0ae9 /src/parser/antlr_parser.h | |
parent | 69248e7ee22494ccefe0ce21fe4b834eb60df2e1 (diff) |
Converting semantic predicates in parser to AlwaysAssertions
Diffstat (limited to 'src/parser/antlr_parser.h')
-rw-r--r-- | src/parser/antlr_parser.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/parser/antlr_parser.h b/src/parser/antlr_parser.h index 76200368c..eec444af9 100644 --- a/src/parser/antlr_parser.h +++ b/src/parser/antlr_parser.h @@ -101,10 +101,9 @@ protected: AntlrParser(antlr::TokenStream& lexer, int k); /** - * Renames the antlr semantic expression to a given message. + * Throws an ANTLR semantic exception with the given message. */ - void rethrow(antlr::SemanticException& e, std::string msg) - throw (antlr::SemanticException); + void parseError(std::string msg) throw (antlr::SemanticException); /** * Returns a variable, given a name and a type. |