2 # $Id: run_lint.sh,v 1.3 2014/03/28 23:40:27 tom Exp $
5 # run lint on each of the ".c" files in the test directory
16 ifBTYACC=`fgrep -l 'define YYBTYACC' config.h > /dev/null; test $? != 0; echo $?`
18 if test $ifBTYACC = 0; then
19 REF_DIR=${TEST_DIR}/yacc
21 REF_DIR=${TEST_DIR}/btyacc
25 for i in ${REF_DIR}/*.c
27 make -f $PROG_DIR/makefile lint C_FILES=$i srcdir=$PROG_DIR