aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2025-07-05 12:14:27 +0300
committerkartofen <mladenovnasko0@gmail.com>2025-07-05 12:14:27 +0300
commit0e0c0e0f26fcd669e45604fd5d9bcc2891a932a2 (patch)
treef57eb9f80883bdab57d00a97ad97508ecdbb0c2d /build.sh
parentf2bef76fb369d4c9c3e53dca60eb78b75bb02d97 (diff)
lalr now acutally works
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
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"