> Also toggle state if there is no parameter? > > The way that set_variable() is written, I don't see an easy way to tell if > no parameter was given...
Okay, then leave it. > > --- a/[6]memedit_parser.gp > > +++ b/[7]memedit_parser.gp > > @@ -1,4 +1,5 @@ > > �/* [8]memedit_parser.gp */ > > -#mandatory memedit > > +#mandatory file > > Original line is very wrong, but file is also not mandatory; one could > use open after memedit started. > > Yes. It seems to me that this is a deficiency in genparse. It really isn't > mandatory. It's only there so that the correct usage() is generated. Okay, good enough for me. -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
-- ptxdist mailing list ptxdist@pengutronix.de