-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
happy emits code using -XCPP
even in the absence of --ghc
#263
Comments
The fact that CPP is emitted at all (with or without So, ideally, there should be a mode to emit parsing code with all CPP conditionals resolved in some reasonable way. |
Hmm. Perhaps that mode isn't the good old "generate Haskell code via I'm currently working on So if we are going to have breaking changes anyway, perhaps we can be more ambitious? |
No longer an issue after #278. |
I'm seeing that
happy
generates Haskell files such assince the unreleased 2.0 version, I think.
While I understand that it's far easier to lean on GHC's
CPP
extension to generate parsers, doing so kind of implies--ghc
.If we want to go that route, can't we go all the way also get rid of the non-
--ghc
mode ofhappy
?The text was updated successfully, but these errors were encountered: