#!/bin/sh
thisdir=`dirname $0`
if test %$1 = "%dump" ; then
	$thisdir/dump .a68.dump $2
else
	print=""
	if test %$1 = "%-l" ; then
		print="-"
		shift
	fi
	$thisdir/la .a68.w1 .a68.w2 $*
	if test $? = 1 ; then exit
	elif test $? = 7 ; then print=""
	fi
	$thisdir/al .a68.prelude .a68.w1 .a68.w2 .a68.dump $print
	if test $? = 7 ; then $thisdir/textual_error .a68.dump
	fi
fi
