[project @ 1998-11-16 11:56:09 by sof]
[ghc-hetmet.git] / ghc / compiler / parser / hsparser.y
index 30bfa6f..d4befff 100644 (file)
@@ -555,8 +555,8 @@ callconv: STDCALL   { $$ = CALLCONV_STDCALL;  }
        | C_CALL        { $$ = CALLCONV_CCALL;    }
        | PASCAL        { $$ = CALLCONV_PASCAL;   }
        | FASTCALL      { $$ = CALLCONV_FASTCALL; }
-/* If you leave out the specification of a calling convention, you'll get C's. */
-        | /*empty*/     { $$ = CALLCONV_CCALL;    }
+/* If you leave out the specification of a calling convention, you'll (probably) get C's. */
+        | /*empty*/     { $$ = CALLCONV_NONE;    }
        ;
 
 ext_name: STRING       { $$ = mkjust(lsing($1)); }