diff --git a/langkit/templates/astnode_types_ada.mako b/langkit/templates/astnode_types_ada.mako index 7346943a8..c29f2c2ed 100644 --- a/langkit/templates/astnode_types_ada.mako +++ b/langkit/templates/astnode_types_ada.mako @@ -382,7 +382,7 @@ ## Look for a child node that contains Sloc (i.e. return the most ## precise result). - % for i, field in enumerate(astnode_fields): + % for field in astnode_fields: ## Note that we assume here that child nodes are ordered so ## that the first one has a sloc range that is before the ## sloc range of the second child node, etc.