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

fix: remove redundant 'var' section from declaration and add path instead #14

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

hypno2000
Copy link
Contributor

@hypno2000 hypno2000 commented Feb 16, 2025

Added path include to declaration to match module path before module name, ie: glfw::Window* g_window; in top level scope.

Also removed var match from declaration as i don't think there is such keyword on c3? If so then It was probably remnant from earlier times of the language (or from some other language).

@tonis2 tonis2 merged commit c1ba74c into c3lang:main Feb 16, 2025
@tonis2
Copy link
Contributor

tonis2 commented Feb 16, 2025

Thanks

@cbuttner
Copy link
Collaborator

There are var declarations in macros or for lambdas.

@hypno2000
Copy link
Contributor Author

hypno2000 commented Feb 16, 2025

There are var declarations in macros or for lambdas.

Sorry, i will do a PR reversing that part then. Can you give me an example or link to somewhere where i can see that syntax?

EDIT: found it in macros, #15 reverses it

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 this pull request may close these issues.

3 participants