Martin Nordholts (enselic@xxxxxxxxx) wrote: > Simon Budig wrote: > > Martin Nordholts (enselic@xxxxxxxxx) 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@xxxxxxxx http://simon.budig.de/ _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer