summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index bc4fd6018..170e1af31 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -84,6 +84,12 @@ public:
*/
bool done() const;
+ /** Enable semantic checks during parsing. */
+ void enableChecks();
+
+ /** Disable semantic checks during parsing. Disabling checks may lead to crashes on bad inputs. */
+ void disableChecks();
+
private:
/**
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback