Browse Source

- fixed issue #22

Franco Ponticelli 15 years ago
parent
commit
2351ef06d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -599,7 +599,7 @@ and gen_call ctx e el =
 		(match ctx.curclass.cl_super with
 		| None -> assert false
 		| Some (c,_) ->
-			print ctx "parent::%s(" (name);
+			print ctx "parent::%s(" (s_ident name);
 			concat ctx "," (gen_value ctx) params;
 			spr ctx ")";
 		);