grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal for GNU indent compatibility


From: Alfred M. Szmidt
Subject: Re: Proposal for GNU indent compatibility
Date: Sun, 21 Jun 2009 07:41:58 -0400

   > In order to encourage developers to use proper indentation on the
   > newly added code, I suggest that we accept the default style of
   > GNU indent.  That is, the space after "!" should not be needed.
   > That's the only difference I'm aware of.

   What does GCS say about spaces after "!"?

It doesn't say anything on the topic.  But it has a single example
relating to gnulib where there is a space used after !.

| #include "error.h"
| #include <errno.h>
| #include <stdio.h>

| char *program_name = "myprogram";

| FILE *
| xfopen (char const *name)
| {
|   FILE *fp = fopen (name, "r");
|   if (! fp)
|     error (1, errno, "cannot read %s", name);
|  return fp;
| }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]