Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
d807babf
Commit
d807babf
authored
Mar 27, 2000
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/rename/ParseIface.y
View file @
d807babf
...
...
@@ -51,6 +51,7 @@ import Ratio ( (%) )
%lexer { lexer } { ITeof }
%token
'as' { ITas }
'case' { ITcase } -- Haskell keywords
'class' { ITclass }
'data' { ITdata }
...
...
@@ -58,6 +59,7 @@ import Ratio ( (%) )
'deriving' { ITderiving }
'do' { ITdo }
'else' { ITelse }
'hiding' { IThiding }
'if' { ITif }
'import' { ITimport }
'in' { ITin }
...
...
@@ -69,12 +71,11 @@ import Ratio ( (%) )
'module' { ITmodule }
'newtype' { ITnewtype }
'of' { ITof }
'qualified' { ITqualified }
'then' { ITthen }
'type' { ITtype }
'where' { ITwhere }
'as' { ITas }
'qualified' { ITqualified }
'hiding' { IThiding }
--???? 'scc' { ITscc }
'forall' { ITforall } -- GHC extension keywords
'foreign' { ITforeign }
...
...
@@ -83,15 +84,17 @@ import Ratio ( (%) )
'dynamic' { ITdynamic }
'unsafe' { ITunsafe }
'with' { ITwith }
'stdcall' { ITstdcallconv }
'ccall' { ITccallconv }
'__interface' { ITinterface } -- interface keywords
'__export' { IT__export }
'__forall' { IT__forall }
'__depends' { ITdepends }
'__forall' { IT__forall }
'__letrec' { ITletrec }
'__coerce' { ITcoerce }
'__inline_call'{ ITinlineCall }
'__inline_me' { ITinlineMe }
'__inline_call'{ ITinlineCall }
'__DEFAULT' { ITdefaultbranch }
'__bot' { ITbottom }
'__integer' { ITinteger_lit }
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment