On Tue, 2009-12-01 at 14:28 -0800, David Brownell wrote: > On Tuesday 01 December 2009, Zach Welch wrote: > > > > > > The use of angle brackets intends to distinguish parameter names from > > > > literal arguments. Thus [<foo>] means an optional thing which > > > > semantically will be used as a "foo", whereas [foo|bar] means you can > > > > optionally provide the 'foo' or 'bar' options (literally). If the > > > > parameter is required, I used (foo|bar) or <foo|bar> depending on > > > > whether the parameter should be literal or figurative, respectively. > > > > > > I've seen it used in places where it's optional ... e.g. the typical > > > "if no parameter, just dump current state" stuff. > > > > Okay, but how could you then distinguish constant and variable tokens? > > BNF uses quotes: > > 'literal' variable
Heh, see why I suggested you improve the docs? :) --Z _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development