Add position to AST for better error management