diff options
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; |