diff options
author | Ben Sklaroff <bsklaroff@gmail.com> | 2018-08-21 12:03:24 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-08-21 18:52:33 -0400 |
commit | 02518f9d99c2d038384263f9e039efcb09bc96ff (patch) | |
tree | 3e850405fc95c084053c0186031d47defd9f5224 /compiler/utils/UniqFM.hs | |
parent | 966aa7818222a8637b56ca32b3892901de1bf5d4 (diff) | |
download | haskell-02518f9d99c2d038384263f9e039efcb09bc96ff.tar.gz |
Fix #line pragmas in nested comments
When parsing a nested comment or nested doc comment in the lexer, if we
see a line starting with '#' we attempt to parse a #line pragma. This
fixes how ghc handles output of the C preproccesor (-cpp flag) when the
original source has C comments or pragmas inside haskell comments.
Updates haddock submodule.
Test Plan: ./validate
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #314
Differential Revision: https://phabricator.haskell.org/D4934
Diffstat (limited to 'compiler/utils/UniqFM.hs')
0 files changed, 0 insertions, 0 deletions