Add scripting API control over unit 'stay'
[freeciv.git] / tests / check_macros.sh
blobcdb1a17a42cf43dd094a9b48b8d0e587f36a3925
1 #!/bin/sh
3 files=`find $1 -name "*.c" -o -name "*.cpp" -o -name "*.h" | sort`
5 echo "# check for __LINE__ (should be replaced by __FC_LINE__):"
6 for file in $files; do
7 COUNT=`cat $file | grep _LINE__ | grep -v __FC_LINE__ | wc -l`
8 if [ "x$COUNT" != "x0" ]; then
9 echo $file
11 done