haskell / alex

A lexical analyser generator for Haskell
https://hackage.haskell.org/package/alex
BSD 3-Clause "New" or "Revised" License
298 stars 82 forks source link

Converting clang's line makers to GHC's line pragma. #39

Closed kazu-yamamoto closed 10 years ago

kazu-yamamoto commented 11 years ago

Some of clang's line makers have four items:

----
#1 "<built-in>" 1
----

This cannot be parsed by Setup and is left in a template as is, resulting in compile errors with GHC/clang-wrapper later.