diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-22 08:59:24 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-22 08:59:24 +0200 |
| commit | 13fdee74dc28f0b068503843c6e14071a7c339f2 (patch) | |
| tree | 323f35e351394c89faeaf61cccad716ba4e4fb1a /generate.fish | |
| parent | e02bfc1854effe0bb55ea6d4320e2b1902eaeae3 (diff) | |
feat: More integer types
Diffstat (limited to 'generate.fish')
| -rw-r--r-- | generate.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generate.fish b/generate.fish index ac24d3e..b0e5308 100644 --- a/generate.fish +++ b/generate.fish @@ -6,10 +6,10 @@ end; echo -e "" >> test.c cat base_test.c >> test.c; echo -e "" >> test.c; -echo "int main() {" >> test.c; +echo "i32 main() {" >> test.c; for f in $fs; echo "Parsing $f"; - set funcs (rg 'int test_' $f); + set funcs (rg 'i32 test_' $f); for func in $funcs; set pfunc (echo $func | awk '{match($0, /test_[^(]+/); print substr($0, RSTART, RLENGTH)}'); echo "Found $pfunc in $f"; |
