summaryrefslogtreecommitdiff
path: root/src/parser/antlr_parser.h
diff options
context:
space:
mode:
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