blob: 0434b890926422833dc88f1e50c1cb824f96eae5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
PARSECMD=../build/parse
PARSEFILE=" "
parse () {
echo "ATTEMPTING TO PARSE $1-test.tnsl"
$PARSECMD $2 -in $1-test.tnsl -out $1-test.tnt
if [ $? -eq 0 ]; then
echo "SUCCESS!"
fi
}
parse block "$1"
parse comment "$1"
parse literal "$1"
parse parameter "$1"
parse statement "$1"
|