]> ocean-lang.org Git - ocean/commit
parsergen: add --tag option.
authorNeilBrown <neilb@suse.de>
Sun, 11 May 2014 04:21:26 +0000 (14:21 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 15 Jun 2014 07:10:49 +0000 (17:10 +1000)
commitfde929c68cfd3a5169c48c0042a4005143f12399
tree811ac982c75d832d7f1ab8520a8e386c54158fdf
parent27711a085eae65366c023323b15857131c6d8ad8
parsergen: add --tag option.

Normally parsergen extracts three secctions: header, code, and grammar.
With "--tag foo", it will ignore anything that doesn't start "foo:",
will extract "foo: header", "foo: code", and "foo: grammar", and only
complain if there are other "foo:" headers.

Signed-off-by: NeilBrown <neilb@suse.de>
csrc/parsergen.mdc