]> git.saurik.com Git - cycript.git/blobdiff - Output.cpp
Cleanly separate words and keywords using grammar.
[cycript.git] / Output.cpp
index a26e3e746cfc229a44e37328c2ed8a513eaa321c..c06f757d406b767913251ff570bfc93ef63ea630 100644 (file)
@@ -610,7 +610,7 @@ void New::Output(CYOutput &out, CYFlags flags) const {
 } }
 
 void CYNull::Output(CYOutput &out, CYFlags flags) const {
-    CYWord::Output(out);
+    out << "null";
 }
 
 void CYNumber::Output(CYOutput &out, CYFlags flags) const {
@@ -784,7 +784,7 @@ void CYSwitch::Output(CYOutput &out, CYFlags flags) const {
 }
 
 void CYThis::Output(CYOutput &out, CYFlags flags) const {
-    CYWord::Output(out);
+    out << "this";
 }
 
 namespace cy {