diff options
| author | Michal Terepeta <michal.terepeta@gmail.com> | 2012-11-12 21:31:32 +0100 |
|---|---|---|
| committer | Ian Lynagh <ian@well-typed.com> | 2012-11-23 16:05:57 +0000 |
| commit | 64efee6225ac18e54919d1690073fa2404a74a6c (patch) | |
| tree | 8e6114d0b47f8b66e1cdb68f00f2422a65bdd305 /utils/genprimopcode/Lexer.x | |
| parent | 951e28c0625ece7e0db6ac9d4a1e61e2737b10de (diff) | |
| download | haskell-64efee6225ac18e54919d1690073fa2404a74a6c.tar.gz | |
Add fixity information to primops (ticket #6026)
Diffstat (limited to 'utils/genprimopcode/Lexer.x')
| -rw-r--r-- | utils/genprimopcode/Lexer.x | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x index 24ea7b2ef6..3ee35d4dab 100644 --- a/utils/genprimopcode/Lexer.x +++ b/utils/genprimopcode/Lexer.x @@ -51,6 +51,11 @@ words :- <0> "Monadic" { mkT TMonadic } <0> "Compare" { mkT TCompare } <0> "GenPrimOp" { mkT TGenPrimOp } + <0> "fixity" { mkT TFixity } + <0> "infix" { mkT TInfixN } + <0> "infixl" { mkT TInfixL } + <0> "infixr" { mkT TInfixR } + <0> "Nothing" { mkT TNothing } <0> "thats_all_folks" { mkT TThatsAllFolks } <0> [a-z][a-zA-Z0-9\#_]* { mkTv TLowerName } <0> [A-Z][a-zA-Z0-9\#_]* { mkTv TUpperName } |
