summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-18 23:24:26 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-18 23:24:26 +0000
commit9f8f4ae9ef9d9d79973b77b6c61af4c5db034841 (patch)
treec9f2159ab870534a2cd0d887944c84d00da9b2a4 /src/parser/parser.h
parenta377bee55e41ba9ceef3380742e536545299181c (diff)
Adding --no-checking option to disable semantic checks in parser
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