X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmLex.x;h=d1a64f67b715eee866af036cf0b6c988b808074d;hb=f80b81f8b56ebd0fa0f7f82494a5090e9ab64256;hp=c2efd17710110a278b04cfef59182ed2c28742f4;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x index c2efd17..d1a64f6 100644 --- a/compiler/cmm/CmmLex.x +++ b/compiler/cmm/CmmLex.x @@ -137,6 +137,7 @@ data CmmToken | CmmT_if | CmmT_jump | CmmT_foreign + | CmmT_prim | CmmT_import | CmmT_switch | CmmT_case @@ -211,6 +212,7 @@ reservedWordsFM = listToUFM $ ( "if", CmmT_if ), ( "jump", CmmT_jump ), ( "foreign", CmmT_foreign ), + ( "prim", CmmT_prim ), ( "import", CmmT_import ), ( "switch", CmmT_switch ), ( "case", CmmT_case ),