We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#include
% cat include.hs #include "something-compat.h" module Foo where % cat include.hs| hindent hindent: <interactive>: 3: 1: Parse error: module CallStack (from HasCallStack): error, called at src/main/Main.hs:62:21 in main:Main
Are #includes handled at all?
The text was updated successfully, but these errors were encountered:
Maybe adding #include to https://github.com/commercialhaskell/hindent/blob/d43b1fd40b8054a7122705dd44efcb4f86b37416/src/HIndent.hs#L179 will fix the bug by splitting the source into two blocks with #include in between.
Sorry, something went wrong.
Put the #include pragma after the module line would work:
module
module Foo where #include "something-compat.h"
Seems an issue related to HSE, see haskell-suite/haskell-src-exts#68
0113eb4
Merge pull request #431 from phadej/include-issue-430
0721221
Add #include, #error and #warning CPP-directives. Fixes #430
No branches or pull requests
Are
#include
s handled at all?The text was updated successfully, but these errors were encountered: