]> git.saurik.com Git - cycript.git/blobdiff - Parser.cpp
MemberAccess is allowed Word, not just Identifier.
[cycript.git] / Parser.cpp
index 8646c7cd53114b95fbf921ce1bd4f4e50acb2937..b53aee117c158a81aeaddf907001ae0b25cc4028 100644 (file)
@@ -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();
 }