trivial diff: fix NU-Prolog syntax error
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Nov 7 13:08:46 AEDT 1998
Estimated hours taken: 0.25
library/builtin.m:
Add spaces around `::' operators, to avoid syntax errors in NU-Prolog.
Index: library/builtin.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/builtin.m,v
retrieving revision 1.8
diff -u -r1.8 builtin.m
--- builtin.m 1998/11/06 09:59:06 1.8
+++ builtin.m 1998/11/07 02:05:29
@@ -215,12 +215,12 @@
:- mode cc_cast(pred(out) is cc_nondet) = out(pred(out) is semidet) is det.
:- mode cc_cast(pred(out) is cc_multi) = out(pred(out) is det) is det.
-:- pragma c_code(cc_cast(X::(pred(out) is cc_multi)) =
- (Y::out(pred(out) is det)),
+:- pragma c_code(cc_cast(X :: (pred(out) is cc_multi)) =
+ (Y :: out(pred(out) is det)),
[will_not_call_mercury, thread_safe],
"Y = X;").
-:- pragma c_code(cc_cast(X::(pred(out) is cc_nondet)) =
- (Y::out(pred(out) is semidet)),
+:- pragma c_code(cc_cast(X :: (pred(out) is cc_nondet)) =
+ (Y :: out(pred(out) is semidet)),
[will_not_call_mercury, thread_safe],
"Y = X;").
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list