-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Invalid unitname generated for directories that look like numeric literals #240
Comments
My bad; I forgot to run the script with Indeed it would be handy to create something like first-character-breadcrumb appended to script's parent directory; in my case, In other words, it should become Update as of 16-11-2023: Coincidentally, I have discovered by accident that Crystal language creates a caching directory for improving re-building compilation speeds inside This type of format could also be used to avoid the aforementioned buggy behavior while maintaining readability for developers that want to investigate the generate C code and know which file came from where exactly. |
Code example
When compiled in a directory named '001-example', an invalid unitname is generated:
Expected behavior
I expected a unitname like XXX_example, as is done with non-Latin characters.
Workaround
Files can set an explicit unitname with
Environment
x86_64 linux
Nelua 0.2.0-dev
Build number: 1605
Git date: 2023-11-05 16:12:59 -0300
Git hash: decf713
Semantic version: 0.2.0-dev.1605+decf713c
Copyright (C) 2019-2023 Eduardo Bart (https://nelua.io/)
The text was updated successfully, but these errors were encountered: