From 8e41342e05c3fa013bcff09a67f0af31715cb1aa Mon Sep 17 00:00:00 2001 From: Raphael Amiard Date: Tue, 9 Aug 2016 13:53:34 +0200 Subject: [PATCH] Minor: remove useless enumerate in templates Change-Id: Idde55fbb6ba7195e69d8c387ec4068e777878618 --- langkit/templates/astnode_types_ada.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.