[PATCH] Fix comments in optc-gen.awk

Volker Reichelt v.reichelt@netcologne.de
Mon Jan 21 14:24:00 GMT 2008


The following trivial patch fixes a comment in optc-gen.awk and a comment
in the file generated by optc-gen.awk.

Bootstrapped and regtested on i686-pc-linux-gnu.
Ok for mainline?

Regards,
Volker

:ADDPATCH:


2008-01-21  Volker Reichelt  <v.reichelt@netcologne.de>

	* optc-gen.awk: Fix comment typo.  Fix comment in generated file.

===================================================================
--- gcc/optc-gen.awk	(revision 131273)
+++ gcc/optc-gen.awk	(working copy)
@@ -17,7 +17,7 @@
 # <http://www.gnu.org/licenses/>.
 
 # This Awk script reads in the option records generated from 
-# opt-gather.awk, combines the flags of duplicat options and generates a
+# opt-gather.awk, combines the flags of duplicate options and generates a
 # C file.
 #
 # This program uses functions from opt-functions.awk
@@ -54,7 +54,7 @@
 
 # Dump that array of options into a C file.
 END {
-print "/* This file is auto-generated by opts.sh.  */"
+print "/* This file is auto-generated by optc-gen.awk.  */"
 print ""
 n_headers = split(header_name, headers, " ")
 for (i = 1; i <= n_headers; i++)
===================================================================



More information about the Gcc-patches mailing list