projects
/
cycript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSObjectMakeArray fallback didn't handle length 1.
[cycript.git]
/
Driver.cpp
diff --git
a/Driver.cpp
b/Driver.cpp
index 4bac2c2a920f1092c16e07f179ed0e25da5556ff..0bdd62d1ff0aa71de877623a058ab96ff7a092d2 100644
(file)
--- a/
Driver.cpp
+++ b/
Driver.cpp
@@
-1,5
+1,5
@@
-/* Cycript -
Optimizing JavaScript Compiler/Runtim
e
- * Copyright (C) 2009-201
5
Jay Freeman (saurik)
+/* Cycript -
The Truly Universal Scripting Languag
e
+ * Copyright (C) 2009-201
6
Jay Freeman (saurik)
*/
/* GNU Affero General Public License, Version 3 {{{ */
*/
/* GNU Affero General Public License, Version 3 {{{ */
@@
-20,15
+20,14
@@
/* }}} */
#include "Driver.hpp"
/* }}} */
#include "Driver.hpp"
-#include "
Parser
.hpp"
+#include "
Syntax
.hpp"
bool CYParser(CYPool &pool, bool debug);
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_(false),
last_(false),
pool_(pool),
newline_(false),
last_(false),
- next_(false),
data_(data),
debug_(0),
strict_(false),
data_(data),
debug_(0),
strict_(false),
@@
-41,6
+40,7
@@
CYDriver::CYDriver(CYPool &pool, std::istream &data, const std::string &filename
{
in_.push(false);
return_.push(false);
{
in_.push(false);
return_.push(false);
+ super_.push(false);
template_.push(false);
yield_.push(false);
template_.push(false);
yield_.push(false);