lang: parser: Simplify code and format it

This would get done by gofmt -s anyways.
This commit is contained in:
James Shubin
2025-02-27 17:02:39 -05:00
parent f74bc969ca
commit c5257dd64b
3 changed files with 4 additions and 1 deletions

View File

@@ -636,5 +636,6 @@ funcgen: lang/core/generated_funcs.go
lang/core/generated_funcs.go: lang/funcs/funcgen/*.go lang/core/funcgen.yaml lang/funcs/funcgen/templates/generated_funcs.go.tpl
@echo "Generating: funcs..."
@go run `find lang/funcs/funcgen/ -maxdepth 1 -type f -name '*.go' -not -name '*_test.go'` -templates=lang/funcs/funcgen/templates/generated_funcs.go.tpl >/dev/null
@gofmt -s -w $@
# vim: ts=8