parser-c 0.3.0

Macros for parser-c.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
CODE=$1
if [ -z "$2" ]; then
	MSG="Expected Error"
else
	MSG=$2
fi
if [ $CODE -eq 0 ]; then
	echo $MSG 1>&2
	exit 1
else
	exit 0
fi