Delete a few things that appear in gcc 3.x's CPP output.

This commit is contained in:
thorpej 2002-09-13 03:41:54 +00:00
parent 777a2b8bb0
commit 5aa3fde6fa
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: host-mkdep.in,v 1.2 2002/01/28 19:26:35 tv Exp $
# $NetBSD: host-mkdep.in,v 1.3 2002/09/13 03:41:54 thorpej Exp $
#
# Copyright (c) 1991, 1993
# The Regents of the University of California. All rights reserved.
@ -91,6 +91,8 @@ for f in $SRCS; do
/^#/ {
# Be as tolerant as possible.
sub(/^#(line)? [ 0-9]*\"?/, "")
sub(/^#(pragma).*/, "")
sub(/^<.*/, "")
sub(/\".*$/, "")
sub(/ [ 0-9]*$/, "")