aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/9c b/bin/9c
index fd555a62..a3ccd493 100755
--- a/bin/9c
+++ b/bin/9c
@@ -59,7 +59,7 @@ xtmp=/tmp/9c.$$.$USER.out
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" >$xtmp 2>&1
status=$?
grep -v '__p9l_autolib_' $xtmp |
-egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: In function `|: At top level: ' |
-sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
+egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: In function `|: At top level:' |
+sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
rm -f $xtmp $xtmp.status
exit $status