minix/external/bsd/flex/dist/tests/test-linedir-r/check-lines.awk

8 lines
119 B
Awk
Raw Normal View History

2012-06-06 16:10:32 +02:00
{
if( /#line/ && $1 != ($3 - 1)) {
printf "Line directive mismatch at line %d: %s\n", NR, $0;
exit 1;
}
}