diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-03-01 14:48:04 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-03-01 14:48:04 +0000 |
commit | 45a138c326da72890bf889a3670aad503ef4aa1e (patch) | |
tree | fa0c9a8497d0b33f78a9f19212152a61392825cc /src/parser/antlr_input.h | |
parent | 8c0b2d6db32103268f84d89c0d0545c7eb504069 (diff) |
Partial merge from kind-backend branch, including Minisat and CNF work to
support incrementality.
Some clean-up work will likely follow, but the CNF/Minisat stuff should be
left pretty much untouched.
Expected performance change negligible; slightly better on memory:
http://church.cims.nyu.edu/regress-results/compare_jobs.php?job_id=3705&reference_id=3697&mode=&category=&p=5
Note that there are crashes, but that these are exhibited in the nightly
regression run too!
Diffstat (limited to 'src/parser/antlr_input.h')
-rw-r--r-- | src/parser/antlr_input.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/parser/antlr_input.h b/src/parser/antlr_input.h index dca26ab75..a39defd14 100644 --- a/src/parser/antlr_input.h +++ b/src/parser/antlr_input.h @@ -77,7 +77,8 @@ public: /** Create an input from an istream. */ static AntlrInputStream* newStreamInputStream(std::istream& input, - const std::string& name) + const std::string& name, + bool lineBuffered = false) throw (InputStreamException, AssertionException); /** Create a string input. @@ -88,7 +89,7 @@ public: static AntlrInputStream* newStringInputStream(const std::string& input, const std::string& name) throw (InputStreamException, AssertionException); -}; +};/* class AntlrInputStream */ class Parser; @@ -209,7 +210,7 @@ protected: /** Set the Parser object for this input. */ virtual void setParser(Parser& parser); -}; +};/* class AntlrInput */ inline std::string AntlrInput::getUnparsedText() { const char *base = (const char *)d_antlr3InputStream->data; |