[Gimp-developer] next generation size entries
Simon Budig
simon at budig.de
Tue Dec 18 03:02:30 PST 2007
Martin Nordholts (enselic at gmail.com) wrote:
> Simon Budig wrote:
> > Martin Nordholts (enselic at gmail.com) wrote:
> >> I'm currently interested in looking into this, mostly because I think
> >> this needs a clean solution before I will be able to cleanly finalize
> >> the GimpRectangleTool.
> >
> > I have a prototypeish parser running here, specified with yacc:
> >
> > If you're curious I'll put the code online somewhere.
> >
>
> Please do, it would be useful to have a look at it.
http://www.home.unix-ag.org/simon/files/parseunit.y
I am not really convinced that it is a good idea to track the dimension
of the entry with the grammar, it probably is easier to do this
generically in the code and later check that the final result has
dimensions 1 or 0 (default unit).
Bye,
Simon
--
simon at budig.de http://simon.budig.de/
More information about the Gimp-developer
mailing list