[GHC] #10661: Regression: hp2ps reports `integer unexpected` on new style package keys

GHC ghc-devs at haskell.org
Sat Aug 29 11:25:32 UTC 2015


#10661: Regression: hp2ps reports `integer unexpected` on new style package keys
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  high              |               Milestone:  7.12.1
       Component:  Profiling         |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
                                     |  concurrent/prog002/concprog002
      Blocked By:                    |                Blocking:
 Related Tickets:  #10550            |  Differential Revisions:  Phab:D1175
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"0c823af84d80ac103528e54eda8e1c6bdf2bea69/ghc"
 0c823af8/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0c823af84d80ac103528e54eda8e1c6bdf2bea69"
 Fix identifier parsing in hp2ps

 Now identifiers can start with a package key, which is a hash, so they
 may also start with a digit. Identifiers always appear at the beginning
 of a line, and numbers never appear here, soit's safe to allow
 identifiers to start with a digit.

 Test Plan: `concprog002` passes under `threaded2_hT` way

 Reviewers: austin, bgamari, thomie

 Reviewed By: austin, bgamari, thomie

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

 GHC Trac Issues: #10661
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10661#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list