diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-02-18 23:24:26 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-02-18 23:24:26 +0000 |
commit | 9f8f4ae9ef9d9d79973b77b6c61af4c5db034841 (patch) | |
tree | c9f2159ab870534a2cd0d887944c84d00da9b2a4 /src/parser/parser.h | |
parent | a377bee55e41ba9ceef3380742e536545299181c (diff) |
Adding --no-checking option to disable semantic checks in parser
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r-- | src/parser/parser.h | 6 |
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: /** |