freebsd-ports/textproc/sml-fxp/files/patch-src-Unicode-Chars-charClasses.sml
Thomas Abthorpe 7542e5c15d fxp is a validating XML parser written completely in the functional
programming language SML. fxp can validate both XML 1.0 and XML 1.1
documents. It has a programming interface allowing for production of XML
applications based on fxp. It is installed with four example applications.

WWW: http://www2.informatik.tu-muenchen.de/~berlea/Fxp

PR:		ports/116572
Submitted by:	Timothy Bourke <timbob at bigpond.com>
2007-10-04 03:02:59 +00:00

12 lines
707 B
Standard ML

diff -Naur src/Unicode/Chars/charClasses.sml.orig src/Unicode/Chars/charClasses.sml
--- src/Unicode/Chars/charClasses.sml.orig 2003-10-09 09:47:58.000000000 -0500
+++ src/Unicode/Chars/charClasses.sml 2003-10-17 13:49:08.000000000 -0500
@@ -91,7 +91,7 @@
(*--------------------------------------------------------------------*)
fun initialize(min,max) =
Array.array((Chars.toInt max-Chars.toInt min+1) div 32+1,0wx0):MutableClass
- fun finalize arr = Array.extract(arr,0,NONE)
+ fun finalize arr = Array.vector arr
(*--------------------------------------------------------------------*)
(* add a single character to a CharClass. *)