ast: clarify the code somewhat
Merge branch 'master' of https://github.com/danmar/cppcheck