Commit d807babf authored by simonmar's avatar simonmar
Browse files

[project @ 2000-03-27 08:46:15 by simonmar]

rearrange tokens to be in roughly the same order as everywhere else.
parent cca2c69f
...@@ -51,6 +51,7 @@ import Ratio ( (%) ) ...@@ -51,6 +51,7 @@ import Ratio ( (%) )
%lexer { lexer } { ITeof } %lexer { lexer } { ITeof }
%token %token
'as' { ITas }
'case' { ITcase } -- Haskell keywords 'case' { ITcase } -- Haskell keywords
'class' { ITclass } 'class' { ITclass }
'data' { ITdata } 'data' { ITdata }
...@@ -58,6 +59,7 @@ import Ratio ( (%) ) ...@@ -58,6 +59,7 @@ import Ratio ( (%) )
'deriving' { ITderiving } 'deriving' { ITderiving }
'do' { ITdo } 'do' { ITdo }
'else' { ITelse } 'else' { ITelse }
'hiding' { IThiding }
'if' { ITif } 'if' { ITif }
'import' { ITimport } 'import' { ITimport }
'in' { ITin } 'in' { ITin }
...@@ -69,12 +71,11 @@ import Ratio ( (%) ) ...@@ -69,12 +71,11 @@ import Ratio ( (%) )
'module' { ITmodule } 'module' { ITmodule }
'newtype' { ITnewtype } 'newtype' { ITnewtype }
'of' { ITof } 'of' { ITof }
'qualified' { ITqualified }
'then' { ITthen } 'then' { ITthen }
'type' { ITtype } 'type' { ITtype }
'where' { ITwhere } 'where' { ITwhere }
'as' { ITas } --???? 'scc' { ITscc }
'qualified' { ITqualified }
'hiding' { IThiding }
'forall' { ITforall } -- GHC extension keywords 'forall' { ITforall } -- GHC extension keywords
'foreign' { ITforeign } 'foreign' { ITforeign }
...@@ -83,15 +84,17 @@ import Ratio ( (%) ) ...@@ -83,15 +84,17 @@ import Ratio ( (%) )
'dynamic' { ITdynamic } 'dynamic' { ITdynamic }
'unsafe' { ITunsafe } 'unsafe' { ITunsafe }
'with' { ITwith } 'with' { ITwith }
'stdcall' { ITstdcallconv }
'ccall' { ITccallconv }
'__interface' { ITinterface } -- interface keywords '__interface' { ITinterface } -- interface keywords
'__export' { IT__export } '__export' { IT__export }
'__forall' { IT__forall }
'__depends' { ITdepends } '__depends' { ITdepends }
'__forall' { IT__forall }
'__letrec' { ITletrec } '__letrec' { ITletrec }
'__coerce' { ITcoerce } '__coerce' { ITcoerce }
'__inline_call'{ ITinlineCall }
'__inline_me' { ITinlineMe } '__inline_me' { ITinlineMe }
'__inline_call'{ ITinlineCall }
'__DEFAULT' { ITdefaultbranch } '__DEFAULT' { ITdefaultbranch }
'__bot' { ITbottom } '__bot' { ITbottom }
'__integer' { ITinteger_lit } '__integer' { ITinteger_lit }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment