Permalink
Browse files

Fixes #10; Missing commas in arglist of unparsed lambdas

  • Loading branch information...
1 parent 9816cc2 commit aac3e985196100c17bb55cc84e06af5aa0876d2a @arvidj arvidj committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Lang/Php/Ast/StmtUnparse.hs
@@ -216,7 +216,7 @@ instance Unparse AnonFuncUse where
instance Unparse AnonFunc where
unparse (AnonFunc w1 ref (WSCap w2 args w3) use block) = concat [tokFunction,
unparse w1, maybe [] ((tokAmp ++) . unparse) ref, unparse w2,
- tokLParen, unparse args, tokRParen, unparse w3, unparse use, unparse block]
+ argListUnparser args, unparse w3, unparse use, unparse block]
-- Stmt

0 comments on commit aac3e98

Please sign in to comment.