]> ocean-lang.org Git - ocean/commitdiff
parsergen: centralise (some of) the collecting of next token.
authorNeilBrown <neilb@suse.de>
Sun, 24 Nov 2013 07:14:11 +0000 (18:14 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 24 Nov 2013 07:17:10 +0000 (18:17 +1100)
A future patch will introduce next sites where we want to
discard the current token.
Rather than calling "token_next" at each site, make it possible
to just set "tk = NULL", and the next token will automatically
be collected when needed.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found