summaryrefslogtreecommitdiff
path: root/src/parser/antlr_parser.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-16 18:07:41 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-16 18:07:41 +0000
commit48142c912d7571ee204b373eadf835c5b676af2c (patch)
tree5caf584809cf5b28882edfbcbc73e86efe7a0ae9 /src/parser/antlr_parser.h
parent69248e7ee22494ccefe0ce21fe4b834eb60df2e1 (diff)
Converting semantic predicates in parser to AlwaysAssertions
Diffstat (limited to 'src/parser/antlr_parser.h')
-rw-r--r--src/parser/antlr_parser.h5
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.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback