Attach parser location information to AST nodes.