aboutsummaryrefslogtreecommitdiff
path: root/generate.fish
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
commit85b0db24804e6a8a66f557ac8917596db5fc5d9f (patch)
tree22cdfbf325fe7ecadc744a668f28c46b03e0f008 /generate.fish
parent2d225abf3b482fa2bf8cf9a56b8caefcc5724447 (diff)
refactor: Better types
Diffstat (limited to 'generate.fish')
-rw-r--r--generate.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate.fish b/generate.fish
index 1994cc9..ac24d3e 100644
--- a/generate.fish
+++ b/generate.fish
@@ -9,7 +9,7 @@ echo -e "" >> test.c;
echo "int main() {" >> test.c;
for f in $fs;
echo "Parsing $f";
- set funcs (rg 'char test_' $f);
+ set funcs (rg 'int test_' $f);
for func in $funcs;
set pfunc (echo $func | awk '{match($0, /test_[^(]+/); print substr($0, RSTART, RLENGTH)}');
echo "Found $pfunc in $f";