aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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"