[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Results of: [VOTE] New space-before-parens style

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-02-13 14:42:48 CET

Lares Moreau <lares.moreau@gmail.com> wrote on 02/13/2006 01:43:47 AM:

> On Sun, 2006-02-12 at 20:56 -0600, kfogel@collab.net wrote:
> > Anyone got any better ideas, before I go further down that road?
> >
> > -Karl
>
> I'm thinking more along the lines of sed.
>
> $ svn info | grep "^URL"
> URL: http://svn.collab.net/repos/svn/trunk/subversion/svn
> $ sed --version

> /* If the first opt_state revision is filled in at this point, then
> we know the user must have used the '-r' switch. */
> - if (opt_state->start_revision.kind != svn_opt_revision_unspecified)
> + if(pt_state->start_revision.kind != svn_opt_revision_unspecified)

> + if(pt_state->end_revision.kind == svn_opt_revision_unspecified)
> + return svn_error_create(VN_ERR_CL_INSUFFICIENT_ARGS, 0,

> - if (using_alternate_syntax)
> + if(sing_alternate_syntax)

> As specified, _() and N_() will not be touched, and as a consequence of
> the regexp, nothing ''()'' will be touched either.
>
> This doesn't get everything, but I think it get much of it.

Did you notice in all of these above examples, the dropped character after
the first ( ?

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 13 14:47:58 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.