]> git.saurik.com Git - cycript.git/commitdiff
Remove seemingly-unneccessary CYBlank from parser.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 28 Nov 2015 12:25:15 +0000 (04:25 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 28 Nov 2015 12:25:15 +0000 (04:25 -0800)
Cycript.yy.in
Parser.hpp

index bc47e7eebeafeee71b1d9d8297df7f3bfef5b174..b38c7fcd4aa522a9a9cbbbafa7d3c11370b282ae 100644 (file)
@@ -1587,7 +1587,7 @@ SelectorCall_
     ;
 
 SelectorCall
     ;
 
 SelectorCall
-    : SelectorWordOpt ":" AssignmentExpression SelectorCall_ { $$ = CYNew CYArgument($1 ?: CYNew CYBlank(), $3, $4); }
+    : SelectorWordOpt ":" AssignmentExpression SelectorCall_ { $$ = CYNew CYArgument($1 ?: CYNew CYWord(""), $3, $4); }
     ;
 
 SelectorList
     ;
 
 SelectorList
index 73a69c69a9fea14cbb04ff1633b58a7fa7321d43..a7ac66aa82caa900cd5c50e7c0a5a5d3437f4a26 100644 (file)
@@ -1030,15 +1030,6 @@ struct CYArgument :
     void Output(CYOutput &out) const;
 };
 
     void Output(CYOutput &out) const;
 };
 
-struct CYBlank :
-    public CYWord
-{
-    CYBlank() :
-        CYWord("")
-    {
-    }
-};
-
 struct CYClause :
     CYThing,
     CYNext<CYClause>
 struct CYClause :
     CYThing,
     CYNext<CYClause>