summaryrefslogtreecommitdiff
path: root/compiler/cmm
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2015-01-20 23:04:31 +0000
committerSergei Trofimovich <siarheit@google.com>2015-01-20 23:04:31 +0000
commitf3e62714e356521efe49a011f874d3a66e543d76 (patch)
tree3f1f4ea7f56a738c67d7d154734749d3aeec43a1 /compiler/cmm
parentcf0e10077c67018669633e14e7e574d38a9fb174 (diff)
downloadhaskell-f3e62714e356521efe49a011f874d3a66e543d76.tar.gz
cmm lex: drop unused 'align' token
Max removed 'align' token from parser productions long ago: > commit ec39750268da134c906b8bb4b7d61763d4ea5c2e > Author: Max Bolingbroke <batterseapower@hotmail.com> > Date: Tue Jul 5 09:31:08 2011 +0100 > > Remove the unused CmmAlign and CmmDataLabel from CmmStatic This patch drops 'align' from lexer as well. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'compiler/cmm')
-rw-r--r--compiler/cmm/CmmLex.x2
-rw-r--r--compiler/cmm/CmmParse.y1
2 files changed, 0 insertions, 3 deletions
diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x
index d5a8067486..9e688ddec2 100644
--- a/compiler/cmm/CmmLex.x
+++ b/compiler/cmm/CmmLex.x
@@ -144,7 +144,6 @@ data CmmToken
| CmmT_else
| CmmT_export
| CmmT_section
- | CmmT_align
| CmmT_goto
| CmmT_if
| CmmT_call
@@ -228,7 +227,6 @@ reservedWordsFM = listToUFM $
( "else", CmmT_else ),
( "export", CmmT_export ),
( "section", CmmT_section ),
- ( "align", CmmT_align ),
( "goto", CmmT_goto ),
( "if", CmmT_if ),
( "call", CmmT_call ),
diff --git a/compiler/cmm/CmmParse.y b/compiler/cmm/CmmParse.y
index fd9489bd7f..916c161647 100644
--- a/compiler/cmm/CmmParse.y
+++ b/compiler/cmm/CmmParse.y
@@ -309,7 +309,6 @@ import Data.Maybe
'else' { L _ (CmmT_else) }
'export' { L _ (CmmT_export) }
'section' { L _ (CmmT_section) }
- 'align' { L _ (CmmT_align) }
'goto' { L _ (CmmT_goto) }
'if' { L _ (CmmT_if) }
'call' { L _ (CmmT_call) }