From 0e0c0e0f26fcd669e45604fd5d9bcc2891a932a2 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sat, 5 Jul 2025 12:14:27 +0300 Subject: lalr now acutally works --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 7b39c8c..ac98b68 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,7 @@ function shared function leak { - valgrind --leak-check=full --show-leak-kinds=all -s bin/$1 + valgrind --leak-check=full --show-leak-kinds=all -s bin/$1 $2 } # cc lexer -D_LEXER_STANDALONE @@ -46,4 +46,4 @@ shared demos/sample-files/defs leak "generate-parser bin/defs.so" > bin/generated.c cc demos/sample-files/parser-skeleton # this includes bin/generated.c -leak parser-skeleton +leak parser-skeleton "0-1+(1+0)-1+0" -- cgit v1.2.3