Skip to content
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

Keyword blocklist | Generated C code contains key words #115

Closed
franziskuskiefer opened this issue Dec 20, 2024 · 1 comment · Fixed by FStarLang/karamel#509
Closed

Keyword blocklist | Generated C code contains key words #115

franziskuskiefer opened this issue Dec 20, 2024 · 1 comment · Fixed by FStarLang/karamel#509

Comments

@franziskuskiefer
Copy link
Collaborator

A variable that's called unsigned in Rust, will get translated into a C variable, called unsigned, which is a keyword.
Eurydice should change variable names that are keywords in C.

@msprotz
Copy link
Contributor

msprotz commented Dec 20, 2024

Thanks. The blocklist is in krml's lib/GlobalNames.ml and unsigned is already in there so I need to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants