Commit 2f1e6e0d by Jason Merrill Committed by Jason Merrill

* lib/old-dejagnu.exp: Also ignore "In member function ".

From-SVN: r35932
parent 6d958acf
2000-08-23 Jason Merrill <jason@redhat.com>
* lib/old-dejagnu.exp: Also ignore "In member function ".
2000-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/noncompile/label-lineno-1.c: New test. * gcc.dg/noncompile/label-lineno-1.c: New test.
......
# Copyright (C) 1988, 90, 91, 92, 1994, 1996, 1997 Free Software Foundation, Inc. # Copyright (C) 1988, 90, 91, 92, 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -526,7 +526,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } { ...@@ -526,7 +526,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } {
#look to see if this is all thats left, if so, all messages have been handled #look to see if this is all thats left, if so, all messages have been handled
#send_user "comp_output: $comp_output\n" #send_user "comp_output: $comp_output\n"
regsub -all "(^|\n)\[^\n\]*: In (function|method) \[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: In ((member)? function|method) \[^\n\]*" $comp_output "" comp_output
regsub -all "(^|\n)\[^\n\]*: In instantiation of \[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: In instantiation of \[^\n\]*" $comp_output "" comp_output
regsub -all "(^|\n)\[^\n\]*: instantiated from \[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: instantiated from \[^\n\]*" $comp_output "" comp_output
regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $comp_output "" comp_output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment