parser_util: drop injected tokens
authorJean Privat <jean@pryen.org>
Sat, 31 May 2014 00:59:07 +0000 (20:59 -0400)
committerJean Privat <jean@pryen.org>
Sat, 31 May 2014 02:56:57 +0000 (22:56 -0400)
commit140a5a87240c8fc9f8a8799d83de5d643234e22a
treefa430257da0caa7af9d5cd8edabae9fb5f5b0060
parent2acfc2d3dbc79843496917a55e799d5bd434c3db
parser_util: drop injected tokens

Do not locate them so they are excluded by the parser.
Remove parents in the result of parse_something so injected tokens
become unaccesible.

Signed-off-by: Jean Privat <jean@pryen.org>
src/parser_util.nit