summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBen Sklaroff <bsklaroff@gmail.com>2018-08-21 12:03:24 -0400
committerBen Gamari <ben@smart-cactus.org>2018-08-21 18:52:33 -0400
commit02518f9d99c2d038384263f9e039efcb09bc96ff (patch)
tree3e850405fc95c084053c0186031d47defd9f5224 /utils
parent966aa7818222a8637b56ca32b3892901de1bf5d4 (diff)
downloadhaskell-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 'utils')
m---------utils/haddock0
1 files changed, 0 insertions, 0 deletions
diff --git a/utils/haddock b/utils/haddock
-Subproject a264b6b3e41dd42946110afcf5000341e5fb3a6
+Subproject 488aa22f393c0addb4c0e0b63cfe0aaea32b85d