From: Jay Freeman (saurik) Date: Sat, 28 Nov 2015 12:25:15 +0000 (-0800) Subject: Remove seemingly-unneccessary CYBlank from parser. X-Git-Tag: v0.9.590~271 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/02447eafbae8e4e568a31d049b8f7e8846dd7865 Remove seemingly-unneccessary CYBlank from parser. --- diff --git a/Cycript.yy.in b/Cycript.yy.in index bc47e7e..b38c7fc 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -1587,7 +1587,7 @@ SelectorCall_ ; SelectorCall - : SelectorWordOpt ":" AssignmentExpression SelectorCall_ { $$ = CYNew CYArgument($1 ?: CYNew CYBlank(), $3, $4); } + : SelectorWordOpt ":" AssignmentExpression SelectorCall_ { $$ = CYNew CYArgument($1 ?: CYNew CYWord(""), $3, $4); } ; SelectorList diff --git a/Parser.hpp b/Parser.hpp index 73a69c6..a7ac66a 100644 --- a/Parser.hpp +++ b/Parser.hpp @@ -1030,15 +1030,6 @@ struct CYArgument : void Output(CYOutput &out) const; }; -struct CYBlank : - public CYWord -{ - CYBlank() : - CYWord("") - { - } -}; - struct CYClause : CYThing, CYNext