diff options
Diffstat (limited to 'ghc/compiler/parser/Lex.lhs')
-rw-r--r-- | ghc/compiler/parser/Lex.lhs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/compiler/parser/Lex.lhs b/ghc/compiler/parser/Lex.lhs index e1de35a2ee..4ee690be84 100644 --- a/ghc/compiler/parser/Lex.lhs +++ b/ghc/compiler/parser/Lex.lhs @@ -128,6 +128,8 @@ data Token | ITlabel | ITdynamic | ITunsafe + | ITstdcallconv + | ITccallconv | ITinterface -- interface keywords | IT__export @@ -280,6 +282,8 @@ ghcExtensionKeywordsFM = listToUFM $ ( "label", ITlabel ), ( "dynamic", ITdynamic ), ( "unsafe", ITunsafe ), + ( "stdcall", ITstdcallconv), + ( "ccall", ITccallconv), ("_ccall_", ITccall (False, False, False)), ("_ccall_GC_", ITccall (False, False, True)), ("_casm_", ITccall (False, True, False)), |