X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/57efef5ffbec97896a112ca5439cde154e025ff4..c3d9dbc7522c2ba685074d9ab5672e3e023e5f5d:/Driver.hpp diff --git a/Driver.hpp b/Driver.hpp index bbce9fd..dce9213 100644 --- a/Driver.hpp +++ b/Driver.hpp @@ -64,7 +64,7 @@ class _visible CYDriver { bool newline_; bool last_; - std::istream &data_; + std::streambuf &data_; int debug_; bool strict_; @@ -120,7 +120,7 @@ class _visible CYDriver { void ScannerDestroy(); public: - CYDriver(CYPool &pool, std::istream &data, const std::string &filename = ""); + CYDriver(CYPool &pool, std::streambuf &data, const std::string &filename = ""); ~CYDriver(); bool Parse(CYMark mark = CYMarkScript);