X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b3378a02d0a811be38e530933fb9a57a3012a823..54e3490b89ee1cc882d7c308ea65f023d374e482:/Parser.cpp diff --git a/Parser.cpp b/Parser.cpp index 8646c7c..32d3d0a 100644 --- a/Parser.cpp +++ b/Parser.cpp @@ -1,5 +1,5 @@ /* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2010 Jay Freeman (saurik) + * Copyright (C) 2009-2012 Jay Freeman (saurik) */ /* GNU Lesser General Public License, Version 3 {{{ */ @@ -28,6 +28,7 @@ CYRange WordEndRange_ (0x3ff001000000000LLU, 0x7fffffe87fffffeLLU); // A-Za-z_$ CYDriver::CYDriver(const std::string &filename) : state_(CYClear), + nobrace_(false), data_(NULL), size_(0), file_(NULL), @@ -38,6 +39,7 @@ CYDriver::CYDriver(const std::string &filename) : context_(NULL), mode_(AutoNone) { + in_.push(false); ScannerInit(); }