[GRASS-dev] GRASS 7 development started

Glynn Clements glynn at gclements.plus.com
Fri May 30 16:20:56 EDT 2008


Hamish wrote:

> > One thing I notice is that _(i18n) macros can break like
> > 
> > G_message(_
> > 	  ("Some message");
> > 
> > maybe some regex pass after indent to change that to
> > 
> > G_message(
> > 	  _("Some message");
> > 
> > ?
> 
> 
> better example:
>  G_fatal_error
> 	(_
> 	 ("Can't get projection info of current location
> 
> 
> 
> ->  G_fatal_error(
>            _("Can't get projection info ....

Can you identify a particular file where this happens, so that I can
try things?

I didn't realise that it would insert a line break between a function
name and its argument list.

We may be better off simply omitting the -l switch, and relying on
programmers to break long lines manually.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list