X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b23692f3038296c94d25c84c55ed4c1bb49619cf..1e8d80477a3e058a30c477955f1e0c56deb6e956:/Driver.cpp diff --git a/Driver.cpp b/Driver.cpp index fef1eb1..0bdd62d 100644 --- a/Driver.cpp +++ b/Driver.cpp @@ -1,5 +1,5 @@ -/* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2015 Jay Freeman (saurik) +/* Cycript - The Truly Universal Scripting Language + * Copyright (C) 2009-2016 Jay Freeman (saurik) */ /* GNU Affero General Public License, Version 3 {{{ */ @@ -24,11 +24,10 @@ bool CYParser(CYPool &pool, bool debug); -CYDriver::CYDriver(CYPool &pool, std::istream &data, const std::string &filename) : +CYDriver::CYDriver(CYPool &pool, std::streambuf &data, const std::string &filename) : pool_(pool), - newline_(NewLineNone), + newline_(false), last_(false), - next_(false), data_(data), debug_(0), strict_(false),