hp2ps: fix invalid PostScript for names with parentheses

Authored by bgamari on Jul 16 2016, 5:14 PM.

Description

hp2ps: fix invalid PostScript for names with parentheses

The names in the .hp files may contain un-matched opening parentheses,
so escape them.

GHC Trac: Trac #9517

Reviewers: bgamari, austin

Reviewed By: bgamari, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2398

GHC Trac Issues: Trac #9517

(cherry picked from commit 5df92f6776b31b375a80865e7db1f330d929c18f)

Details

Committed
bgamariAug 7 2016, 6:53 AM
Reviewer
bgamari
Differential Revision
D2398: hp2ps: fix invalid PostScript for names with parentheses
Parents
rGHC864053f967b4: UNPACK the size field of SizedSeq
Branches
Unknown
Tags
Unknown