aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/opth-gen.awk16
2 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6412b9b..c87d4d7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,7 @@
2005-05-15 Richard Sandiford <rsandifo@redhat.com>
* optc-gen.awk: Remove excess indentation.
+ * opth-gen.awk: Likewise.
2005-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index 92c0e7e..e95af00 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -141,14 +141,14 @@ print "{"
for (i = 0; i < n_opts; i++)
back_chain[i] = "N_OPTS";
- for (i = 0; i < n_opts; i++) {
- # Combine the flags of identical switches. Switches
- # appear many times if they are handled by many front
- # ends, for example.
- while( i + 1 != n_opts && opts[i] == opts[i + 1] ) {
- flags[i + 1] = flags[i] " " flags[i + 1];
- i++;
- }
+for (i = 0; i < n_opts; i++) {
+ # Combine the flags of identical switches. Switches
+ # appear many times if they are handled by many front
+ # ends, for example.
+ while( i + 1 != n_opts && opts[i] == opts[i + 1] ) {
+ flags[i + 1] = flags[i] " " flags[i + 1];
+ i++;
+ }
len = length (opts[i]);
enum = "OPT_" opts[i]