diagrams / diagrams-haddock

Preprocessor for including inline diagrams in Haddock documentation
Other
10 stars 4 forks source link

Non-hacky CPP support #30

Closed fryguybob closed 7 years ago

fryguybob commented 7 years ago

Instead of looking for a specific parse error message, we look for the CPP language extension using readExtensions. We might want to consider finding CPP enabled in the cabal file as well.

byorgey commented 7 years ago

Seems to work great. The one failing travis test looks like some weird transient error, nothing to do with this code.