summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-17 22:17:33 +0000
committerIan Lynagh <igloo@earth.li>2007-08-17 22:17:33 +0000
commit3c8339e501570a147e2cb2acf6322461c9439364 (patch)
tree498adb64ffebc4c1fbcfe3705d80bee6ee9aa98b /compiler/parser
parent036e86560913bfb19b1287985f79a8f279666566 (diff)
downloadhaskell-3c8339e501570a147e2cb2acf6322461c9439364.tar.gz
Make :i (->) work; fixes trac #1587
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Parser.y.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp
index b624455d3f..1cee18be7c 100644
--- a/compiler/parser/Parser.y.pp
+++ b/compiler/parser/Parser.y.pp
@@ -345,6 +345,7 @@ identifier :: { Located RdrName }
| qcon { $1 }
| qvarop { $1 }
| qconop { $1 }
+ | '(' '->' ')' { LL $ getRdrName funTyCon }
-----------------------------------------------------------------------------
-- Module Header