- use var_fs instead of just VARID for type variables, so that
specialids (as, qualified, hiding, forall etc.) don't confuse the
interface file parser.
- remove superfluous '!' in var_fs rule. This was necessary to avoid
conflicts caused by the previous change.
---------------------------------------------------
-var_fs :: { EncodedFS }
+var_fs :: { EncodedFS }
: VARID { $1 }
- | '!' { SLIT("!") }
| 'as' { SLIT("as") }
| 'qualified' { SLIT("qualified") }
| 'hiding' { SLIT("hiding") }
---------------------------------------------------
tv_name :: { RdrName }
- : VARID { mkRdrUnqual (mkSysOccFS tvName $1) }
+ : var_fs { mkRdrUnqual (mkSysOccFS tvName $1) }
tv_bndr :: { HsTyVarBndr RdrName }
: tv_name '::' akind { IfaceTyVar $1 $3 }