-
Notifications
You must be signed in to change notification settings - Fork 16
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
Syntax error, got an unexpected keyword when use -transpile #132
Comments
I'm not able to recreate this, what version are you using (run |
HolyC Compiler 2024. beta-v0.0.7 UNSTABLE |
May you please try with the latest version? I suspect it possibly has been fixed, and due to the compiler being unstable, rightly or wrongly, I am not supporting any previous versions |
the problem remained even after I built the new version.
|
Interesting. I think the error handling when transpiling is broken, I've observed something similar with the below example (which I'm putting here as a note to self so I can re-create it) that reports something completely incorrect. Does your code compile with ExampleRe-creatable problem: codeU0 Main()
{
"hello world\n" // < missed off ';'
} error:Wrong file reported:
|
Thanks a lot for support. Now
`#include <arpa/inet.h> typedef union __atomic_wide_counter { int *~ |
When i try to use "-transpile" to my .HC file i got that message:
➜ ~hcc -transpile main.HC
The text was updated successfully, but these errors were encountered: