This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] minor bug fix for opth-gen.awk
- From: Wolfgang Gellerich <gellerich at de dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org, uweigand at de dot ibm dot com
- Date: Mon, 4 Dec 2006 14:49:18 +0100
- Subject: [PATCH] minor bug fix for opth-gen.awk
According to the Changelog entry dated 2004-06-18, file opts.sh was
replaced by several awk scripts. However, the generation of the
comment stating that options.h had been "automatically generated by
opts.sh" remained. Here is a tiny patch fixing this.
Regards, Wolfgang
Changelog entry:
2006-12-03 Wolfgang Gellerich <gellerich@de.ibm.com>
* opth-gen.awk: Fixed generation of comment stating the origin
of options.h
Patch:
*** opth-gen.awk-ORI 2006-12-04 13:43:02.000000000 +0100
--- opth-gen.awk 2006-12-04 13:43:26.000000000 +0100
*************** BEGIN {
*** 55,61 ****
# Dump out an enumeration into a .h file.
# Combine the flags of duplicate options.
END {
! print "/* This file is auto-generated by opts.sh. */"
print ""
print "#ifndef OPTIONS_H"
print "#define OPTIONS_H"
--- 55,61 ----
# Dump out an enumeration into a .h file.
# Combine the flags of duplicate options.
END {
! print "/* This file is auto-generated by opth-gen.awk. */"
print ""
print "#ifndef OPTIONS_H"
print "#define OPTIONS_H"