Delete a few things that appear in gcc 3.x's CPP output.
This commit is contained in:
parent
777a2b8bb0
commit
5aa3fde6fa
@ -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]*$/, "")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user