From a324cccc5065c0a26e802a06111dbb86c3173da4 Mon Sep 17 00:00:00 2001 From: rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun, 15 May 2005 08:16:01 +0000 Subject: [PATCH] * opth-gen.awk: Remove excess indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99715 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 1 + gcc/opth-gen.awk | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6412b9bbeb82..c87d4d70da91 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 92c0e7e37236..e95af00d2c46 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] -- GitLab