]> git.saurik.com Git - cycript.git/blobdiff - Parser.hpp
Re-added final output to script execution, implemented unary affirmation operator...
[cycript.git] / Parser.hpp
index 33de680e2b7df771b7f6f0098d6650baab643f41..a9a881296312c5dc9b520601c428861ed10ac2ab 100644 (file)
@@ -78,6 +78,7 @@ struct CYOutput {
     enum {
         NoMode,
         NoLetter,
+        NoPlus,
         NoHyphen,
         Terminated
     } mode_;
@@ -1510,6 +1511,7 @@ CYPrefix_(true, "void", Void)
 CYPrefix_(true, "typeof", TypeOf)
 CYPrefix_(false, "++", PreIncrement)
 CYPrefix_(false, "--", PreDecrement)
+CYPrefix_(false, "+", Affirm)
 CYPrefix_(false, "-", Negate)
 CYPrefix_(false, "~", BitwiseNot)
 CYPrefix_(false, "!", LogicalNot)