[project @ 1998-11-08 17:06:13 by sof]
[ghc-hetmet.git] / ghc / compiler / parser / utils.h
index c4f60a9..4ebf921 100644 (file)
@@ -15,6 +15,7 @@ extern BOOLEAN hashIds;
 extern BOOLEAN etags;
                                  
 extern BOOLEAN ignoreSCC;
+extern BOOLEAN warnSCC;
                                  
 extern unsigned hash_table_size;
 
@@ -64,6 +65,7 @@ void   pprogram PROTO((tree));
 
 void    format_string PROTO((FILE *, unsigned char *, int));
 list    type2context PROTO((ttype));
+void     is_context_format PROTO((ttype, int));
 pbinding createpat PROTO((pbinding, binding));
 void    process_args PROTO((int, char **));
 void    hash_init PROTO((void));
@@ -112,6 +114,16 @@ void       precparse PROTO((tree));
 void   checkprec PROTO((tree, qid, BOOLEAN));
 */
 
+/* FFI predefines */
+#define CALLCONV_STDCALL  0
+#define CALLCONV_CCALL    1
+#define CALLCONV_PASCAL   2
+#define CALLCONV_FASTCALL 3
+
+#define FOREIGN_IMPORT    0
+#define FOREIGN_EXPORT    1
+#define FOREIGN_LABEL     2
+
 BOOLEAN        isconstr PROTO((char *));
 void   setstartlineno PROTO((void));