]> git.saurik.com Git - cycript.git/blobdiff - Replace.hpp
Use Lex rules to guide let [/{ parse in for loops.
[cycript.git] / Replace.hpp
index cafdbdcab5ec3856bef5d4193b6c1a817c4f96d7..82eed60589d79a42caf7e7fbaf254215bdd19fb4 100644 (file)
@@ -1,5 +1,5 @@
 /* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2014  Jay Freeman (saurik)
+ * Copyright (C) 2009-2015  Jay Freeman (saurik)
 */
 
 /* GNU Affero General Public License, Version 3 {{{ */
@@ -22,7 +22,7 @@
 #ifndef CYCRIPT_REPLACE_HPP
 #define CYCRIPT_REPLACE_HPP
 
-#include "Parser.hpp"
+#include "Syntax.hpp"
 
 #define $ new($pool)
 
 #define $N5(func, args...) \
     $N(func, $C5_(args))
 
-#define $L(arg0, args...) \
-    $ CYDeclaration($I(arg0), ##args)
+#define $L(args...) \
+    $ CYDeclaration(args)
 #define $L1(arg0) \
     $ CYDeclarations(arg0)
 #define $L2(arg0, args...) \