[cvs-nhc98] Syntactic re-arrangement of FFI calls in the source langua

Malcolm Wallace malcolm@sparud.net
Tue, 3 Sep 2002 14:16:22 +0200 (CEST)


malcolm: Tue Sep  3 14:16:21 CEST 2002

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv11204

Modified Files:
	Case.hs Foreign.hs Parse.hs ParseLex.hs PosCode.hs StrPos.hs 
	Syntax.hs TokenId.hs 
Log Message:
Syntactic re-arrangement of FFI calls in the source language.
  * The calling convention is now mandatory.
  * We add `cast' and `noproto' as local calling conventions,
    in addition to the standard ccall, stdcall, cplusplus, dotnet, jvm.
    The latter four are not implemented, but generate an error message.
  * The safety spec now includes `unsafe', `safe', and `threadsafe',
    but these are all ignored in nhc98 for the moment.  (All calls are
    safe, and we don't have threads.)
  * The safety spec now comes before the entity string, not after.