From 02447eafbae8e4e568a31d049b8f7e8846dd7865 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 28 Nov 2015 04:25:15 -0800 Subject: [PATCH] Remove seemingly-unneccessary CYBlank from parser. --- Cycript.yy.in | 2 +- Parser.hpp | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) 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 -- 2.49.0