Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #62983

Re: Searching online "indent"

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: Searching online "indent"
Date 2015-06-04 18:02 -0400
Organization Self
Message-ID <5570CAE3.4090108@verizon.net> (permalink)
References (3 earlier) <20150604125943.8fa4c0b46f4ab3a05bda7d8f@gmail.com> <87oakvnwlk.fsf@bsb.me.uk> <beautifier-20150604205721@ram.dialup.fu-berlin.de> <mkqgds$kau$1@speranza.aioe.org> <comments-20150604235147@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 06/04/2015 05:52 PM, Stefan Ram wrote:
> Morris Dovey <mrdovey@iedu.com> writes:

[Reinstate clipped material]
> On 6/4/15 1:58 PM, Stefan Ram wrote:
>>    Yeah. I want to totally neutralize any formatting decision
>>    made by the original author. That is, two source codes that
>>    have the same sequence of tokens but were formatted by
>>    different authors should give the same result.
[end reinstatement]

>> does that mean discarding all comments?
> 
>   Comments should be retained and even handled with care
>   as their meaning might depend on their formatting.
>   So, comments should be changed as little as possible.

Note: the standard considers comments to be white space, rather than
tokens, so two files can have the same sequence of tokens even if they
are commented differently. Therefore, you'll need to make appropriate
changes to your description of the desired behavior.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Searching online "indent" Ian Collins <ian-news@hotmail.com> - 2015-06-04 15:54 +1200
  Re: Searching online "indent" "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-06-04 07:22 -0700
  Re: Searching online "indent" "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-06-04 08:55 -0700
  Re: Searching online "indent" "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-06-04 09:35 -0700
  Re: Searching online "indent" Etienne Prud'homme <e.e.f.prudhomme@gmail.com> - 2015-06-04 12:59 -0400
    Re: Searching online "indent" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-06-04 19:43 +0100
      Re: Searching online "indent" Etienne <e.e.f.prudhomme@gmail.com> - 2015-06-04 15:09 -0400
      Re: Searching online "indent" James Kuyper <jameskuyper@verizon.net> - 2015-06-04 16:52 -0400
      Re: Searching online "indent" Morris Dovey <mrdovey@iedu.com> - 2015-06-04 16:37 -0500
        Re: Searching online "indent" James Kuyper <jameskuyper@verizon.net> - 2015-06-04 18:02 -0400
          Re: Searching online "indent" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-06-04 23:37 +0100
  Re: Searching online "indent" Ian Collins <ian-news@hotmail.com> - 2015-06-05 07:23 +1200

csiph-web