Wolfgang Gellerich - [PING,PATCH] minor bug fix for opth-gen.awk (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]