summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3c184989b1..3029930903 100644
--- a/compiler/parser/Parser.y.pp
+++ b/compiler/parser/Parser.y.pp
@@ -1887,6 +1887,7 @@ tyconsym :: { Located RdrName }
: CONSYM { L1 $! mkUnqual tcClsName (getCONSYM $1) }
| VARSYM { L1 $! mkUnqual tcClsName (getVARSYM $1) }
| '*' { L1 $! mkUnqual tcClsName (fsLit "*") }
+ | '-' { L1 $! mkUnqual tcClsName (fsLit "-") }
-----------------------------------------------------------------------------