haxe/haxe.patch

changeset 510
f30946597115
parent 112
6052d0605a74
equal deleted inserted replaced
0:4a46069dee22 1:29b1bf3ce6dd
13 Failure msg -> 13 Failure msg ->
14 Sys.chdir startdir; 14 Sys.chdir startdir;
15 - prerr_endline msg; exit 1 15 - prerr_endline msg; exit 1
16 \ No newline at end of file 16 \ No newline at end of file
17 + prerr_endline msg; exit 1 17 + prerr_endline msg; exit 1
18 Index: haxe/parser.ml
19 --- haxe/parser.ml.orig 2008-11-25 21:20:36.000000000 +0100
20 +++ haxe/parser.ml 2009-02-25 13:44:52.464412227 +0100
21 @@ -299,9 +299,9 @@
22 }
23
24 and parse_type_path_or_const = parser
25 - | [< '(Const (String s),_); >] -> TPConst (String s)
26 - | [< '(Const (Int i),_); >] -> TPConst (Int i)
27 - | [< '(Const (Float f),_); >] -> TPConst (Float f)
28 + | [< '(Const (String s),_); placeholder1 >] -> TPConst (String s)
29 + | [< '(Const (Int i),_); placeholder2 >] -> TPConst (Int i)
30 + | [< '(Const (Float f),_); placeholder3 >] -> TPConst (Float f)
31 | [< t = parse_type_path >] -> TPType t
32
33 and parse_type_path_next t = parser

mercurial