ports/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaUtil.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
441 B
Standard ML

diff -Naur src/Parser/Dfa/dfaUtil.sml.orig src/Parser/Dfa/dfaUtil.sml
--- src/Parser/Dfa/dfaUtil.sml.orig 2003-10-09 09:47:54.000000000 -0500
+++ src/Parser/Dfa/dfaUtil.sml 2003-10-17 14:22:35.000000000 -0500
@@ -124,7 +124,7 @@
val tab = Array.array(hi-lo+1,dfaError)
val _ = app (fn (q,a) => Array.update (tab,a-lo,q)) flw
in
- (lo,hi,Array.extract (tab,0,NONE),fin)
+ (lo,hi,Array.vector tab,fin)
end
end