haxe/haxe.patch

changeset 113
29f149b6e2be
parent 112
6052d0605a74
     1.1 --- a/haxe/haxe.patch	Wed Feb 25 13:55:52 2009 +0100
     1.2 +++ b/haxe/haxe.patch	Wed Feb 25 13:58:24 2009 +0100
     1.3 @@ -15,3 +15,19 @@
     1.4  -		prerr_endline msg; exit 1
     1.5  \ No newline at end of file
     1.6  +		prerr_endline msg; exit 1
     1.7 +Index: haxe/parser.ml
     1.8 +--- haxe/parser.ml.orig	2008-11-25 21:20:36.000000000 +0100
     1.9 ++++ haxe/parser.ml	2009-02-25 13:44:52.464412227 +0100
    1.10 +@@ -299,9 +299,9 @@
    1.11 + 		}
    1.12 + 
    1.13 + and parse_type_path_or_const = parser
    1.14 +-	| [< '(Const (String s),_); >] -> TPConst (String s)
    1.15 +-	| [< '(Const (Int i),_); >] -> TPConst (Int i)
    1.16 +-	| [< '(Const (Float f),_); >] -> TPConst (Float f)
    1.17 ++	| [< '(Const (String s),_); placeholder1 >] -> TPConst (String s)
    1.18 ++	| [< '(Const (Int i),_); placeholder2 >] -> TPConst (Int i)
    1.19 ++	| [< '(Const (Float f),_); placeholder3 >] -> TPConst (Float f)
    1.20 + 	| [< t = parse_type_path >] -> TPType t
    1.21 + 
    1.22 + and parse_type_path_next t = parser

mercurial