haxe/haxe.patch

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
parent 112
6052d0605a74
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

     1 Index: haxe/doc/install.ml
     2 --- haxe/doc/install.ml.orig	2007-12-16 14:37:46 +0100
     3 +++ haxe/doc/install.ml	2008-05-30 14:06:45 +0200
     4 @@ -144,10 +144,10 @@
     5  in
     6  let startdir = Sys.getcwd() in
     7  try
     8 -	download();
     9 +	(* download(); *)
    10  	compile();
    11  	Sys.chdir startdir;
    12  with
    13  	Failure msg ->
    14  		Sys.chdir startdir;
    15 -		prerr_endline msg; exit 1
    16 \ No newline at end of file
    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  		}
    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
    33  and parse_type_path_next t = parser

mercurial