X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/675ff7336fb0e6f1c0142ce5e796205236d8ffff..9e85a60e4b0868dd9bd92b10e08fc1f6b7025516:/Driver.hpp?ds=sidebyside diff --git a/Driver.hpp b/Driver.hpp index bbce9fd..adb03f2 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,10 +120,10 @@ 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); + bool Parse(CYMark mark = CYMarkModule); void Replace(CYOptions &options); void SetRegEx(bool equal);