Skip to content
Snippets Groups Projects
Commit 99e9e773 authored by Kaveh R. Ghazi's avatar Kaveh R. Ghazi Committed by Kaveh Ghazi
Browse files

* warn_summary: Add -ada subdirectory flag.

From-SVN: r48457
parent 1574ef13
No related branches found
No related tags found
No related merge requests found
2002-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* warn_summary: Add -ada subdirectory flag.
2001-12-12 Matthias Klose <doko@debian.org> 2001-12-12 Matthias Klose <doko@debian.org>
* texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows * texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# This script parses the output of a gcc bootstrap when using warning # This script parses the output of a gcc bootstrap when using warning
# flags and determines various statistics. # flags and determines various statistics.
# #
# usage: warn_summary [-llf] [-s stage] [-nosub|-ch|-cp|-f|-java|-intl|-fixinc] # usage: warn_summary [-llf] [-s stage] [-nosub|-ch|-cp|-f|-java|-ada|-intl|-fixinc]
# [-pass|-wpass] [file(s)] # [-pass|-wpass] [file(s)]
# #
# -llf # -llf
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
# #
# -nosub # -nosub
# Only show warnings from the gcc top level directory. # Only show warnings from the gcc top level directory.
# -ch|-cp|-f|-java|-intl|-fixinc # -ch|-cp|-f|-java|-ada|-intl|-fixinc
# Only show warnings from the specified language subdirectory. # Only show warnings from the specified language subdirectory.
# These override each other so only the last one passed takes effect. # These override each other so only the last one passed takes effect.
# #
...@@ -132,7 +132,7 @@ s%^[^ ]*/\(lib[a-z23+-]*/\)%\1%;' ...@@ -132,7 +132,7 @@ s%^[^ ]*/\(lib[a-z23+-]*/\)%\1%;'
# Start the main section. # Start the main section.
usage="usage: `basename $0` [-llf] [-s stage] [-nosub|-ch|-cp|-f|-java|-intl|-fixinc] [-pass|-wpass] [file(s)]" usage="usage: `basename $0` [-llf] [-s stage] [-nosub|-ch|-cp|-f|-java|-ada|-intl|-fixinc] [-pass|-wpass] [file(s)]"
stageN=3 stageN=3
tmpfile=/tmp/tmp-warn.$$ tmpfile=/tmp/tmp-warn.$$
...@@ -158,7 +158,7 @@ while test -n "$1" ; do ...@@ -158,7 +158,7 @@ while test -n "$1" ; do
-s) if test -z "$2"; then echo $usage 1>&2; exit 1; fi -s) if test -z "$2"; then echo $usage 1>&2; exit 1; fi
stageN="$2"; shift 2 ;; stageN="$2"; shift 2 ;;
-s*) stageN="`expr $1 : '-s\(.*\)'`" ; shift ;; -s*) stageN="`expr $1 : '-s\(.*\)'`" ; shift ;;
-nosub|-ch|-cp|-f|-java|-intl|-fixinc) filter="`expr $1 : '-\(.*\)'`" ; shift ;; -nosub|-ch|-cp|-f|-java|-ada|-intl|-fixinc) filter="`expr $1 : '-\(.*\)'`" ; shift ;;
-pass) pass=1 ; shift ;; -pass) pass=1 ; shift ;;
-wpass) pass=w ; shift ;; -wpass) pass=w ; shift ;;
-*) echo $usage 1>&2 ; exit 1 ;; -*) echo $usage 1>&2 ; exit 1 ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment