Fix #line pragmas in nested comments (fix #314)
Needs ReviewPublic

Authored by bsklaroff on Thu, Jul 5, 4:44 AM.

Details

Reviewers
bgamari
Trac Issues
#314
Summary

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.

Test Plan

./validate