[GRASS-dev] Re: [GRASSGUI] changing data for parser
hamish_nospam at yahoo.com
Thu Mar 22 08:36:28 CET 2007
Daniel Calvelo wrote:
> I've added guisection output to the XML generation in parser.c. While
> looking for other weirdnesses in the different output formats, I came
> across ->descriptions. So far, only --script makes use of them, and
> I've grepped through vector/ raster/ and scripts/ and found that only
> the following use it:
> For completeness sake, I would add ->descriptions handling in all of
> HTML (where I think it is the most useful), tcltk and xml output, but
that would be nice. The GUI programmer can decide what to do with it,
but the parser should make it available to them.
> I wonder... Is there any chance of ->descriptions being more used?
> Maybe add something in SUBMITTING and SUBMITTING_SCRIPTS?
before touching SUBMITTING, we need to clarify what to do with
->description, ->label, et al., see:
also, parser.c is a monster file. It would be nice if we could break it
up into a few smaller files (without adding more global variables).
More information about the grass-dev