#!/bin/sh
valgrind -q --track-origins=yes ./toc test.toc || exit 1
if [ "$1" = "c" ]; then
	gcc out.c && ./a.out
fi