diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-17 20:19:22 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-17 20:19:22 -0400 |
commit | 54da571f3d6600033e9f7bac3be4aeebdf20d374 (patch) | |
tree | c51ac008bdbc9ba9b9138a61bed8952a0acc0c8f /runv | |
parent | 6092b753c5ba6d5b458c38b283b0f3bc50e5393b (diff) |
basic cgen block return values
Diffstat (limited to 'runv')
-rwxr-xr-x | runv | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,2 +1,5 @@ -#!/bin/bash -valgrind -q --track-origins=yes ./toc test.toc +#!/bin/sh +valgrind -q --track-origins=yes ./toc test.toc || exit 1 +if [ "$1" = "c" ]; then + gcc out.c && ./a.out +fi |