summaryrefslogtreecommitdiff
path: root/src/parser/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/input.h')
-rw-r--r--src/parser/input.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/input.h b/src/parser/input.h
index 8fa51a095..92b039eda 100644
--- a/src/parser/input.h
+++ b/src/parser/input.h
@@ -167,6 +167,11 @@ protected:
throw (ParserException, TypeCheckingException, AssertionException) = 0;
/**
+ * Issue a warning to the user, with source file, line, and column info.
+ */
+ virtual void warning(const std::string& msg) = 0;
+
+ /**
* Throws a <code>ParserException</code> with the given message.
*/
virtual void parseError(const std::string& msg)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback