summaryrefslogtreecommitdiff
path: root/ghc/compiler/parser/Lex.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/parser/Lex.lhs')
-rw-r--r--ghc/compiler/parser/Lex.lhs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc/compiler/parser/Lex.lhs b/ghc/compiler/parser/Lex.lhs
index 6c69738d9f..9cd6567c50 100644
--- a/ghc/compiler/parser/Lex.lhs
+++ b/ghc/compiler/parser/Lex.lhs
@@ -123,6 +123,7 @@ data Token
| ITccallconv
| ITinterface -- interface keywords
+ | ITexpr
| IT__export
| ITdepends
| IT__forall
@@ -295,6 +296,7 @@ ghcExtensionKeywordsFM = listToUFM $
-- interface keywords
("__interface", ITinterface),
+ ("__expr", ITexpr),
("__export", IT__export),
("__depends", ITdepends),
("__forall", IT__forall),