Closed francescoagati closed 13 years ago
if i pass a dictionary to a macro like in this example
(defmacro xxx (dict) '(do-something ~dict) ) (xxx {#a 1 #b 2 #c 3})
the dictionary is not translated in array but in this
Lexical::$scopes['maps'] = array(); do_something(a(1, "b", 2, "c", 3));
if i pass the dict macro is correctly
(defmacro xxx (dict) '(do-something ~dict) ) (xxx (dict #a 1 #b 2 #c 3))
Lexical::$scopes['maps'] = array(); do_something(array("a" => 1, "b" => 2, "c" => 3));
if i pass a dictionary to a macro like in this example
the dictionary is not translated in array but in this
if i pass the dict macro is correctly