-
Notifications
You must be signed in to change notification settings - Fork 10
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
nested functions and macros aren't picked up #39
Comments
Is there a repository that I could clone and experiment with that use-case? I'd like to evaluate whether it's worth to interpret these nested commands. I'm afraid it could lead to warnings like shown here when those nested definitions reuse names: function(foo1)
macro(bar)
endmacro()
bar()
endfunction()
function(foo2)
macro(bar)
endmacro()
bar()
endfunction() |
Sure check out https://github.com/shader-slang/slang there's a script calling gersemi here: shader-slang/slang@ |
Fixed in 0.17.0. I've noticed in extras/formatting.sh that you're listing CMake files with |
ah, thanks, but in this case I specifically didn't want to format files in submodules |
This for examples warns about an unknown function
bar
The text was updated successfully, but these errors were encountered: