public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] gen-pass-instances.awk: Add emacs indent setting
@ 2015-11-12  8:06 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2015-11-12  8:06 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]

Hi,

this patch adds emacs indentation settings to gen-pass-instances.awk. 
The default indentation width in emacs awk mode seems to be 4, and this 
setting overrides it to 8, which is the style used in this file.

Committed to trunk as trivial.

Thanks,
- Tom

[-- Attachment #2: 0001-gen-pass-instances.awk-Add-emacs-indent-setting.patch --]
[-- Type: text/x-patch, Size: 522 bytes --]

gen-pass-instances.awk: Add emacs indent setting

2015-11-11  Tom de Vries  <tom@codesourcery.com>

	* gen-pass-instances.awk: Add emacs indent setting.

---
 gcc/gen-pass-instances.awk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk
index f36f510..a0be6a1 100644
--- a/gcc/gen-pass-instances.awk
+++ b/gcc/gen-pass-instances.awk
@@ -64,3 +64,8 @@ function handle_line()
 }
 
 { handle_line() }
+
+# Local Variables:
+# mode:awk
+# c-basic-offset:8
+# End:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-12  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12  8:06 [committed] gen-pass-instances.awk: Add emacs indent setting Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).