astutil: do not crash if the AST is just a token
authorJean Privat <jean@pryen.org>
Sat, 31 May 2014 01:01:30 +0000 (21:01 -0400)
committerJean Privat <jean@pryen.org>
Sat, 31 May 2014 02:56:57 +0000 (22:56 -0400)
commit339b70cab07e77841143d1009eebf18a2998fe85
tree9af4016f517b802f550cf4947fe537853b5584de
parent140a5a87240c8fc9f8a8799d83de5d643234e22a
astutil: do not crash if the AST is just a token

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