1.1 --- a/common.py Sun Jan 15 17:37:00 2023 +0100
1.2 +++ b/common.py Sat Sep 02 01:19:04 2023 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Common functions.
1.6
1.7 -Copyright (C) 2007-2019, 2021 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2007-2019, 2021, 2023 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -362,9 +362,15 @@
1.13
1.14 l = []
1.15 for n in node.getChildNodes():
1.16 - l.append(self.process_structure_node(n))
1.17 + l.append(self.process_statement_node(n))
1.18 return l
1.19
1.20 + def process_statement_node(self, node):
1.21 +
1.22 + "Process the given statement 'node'."
1.23 +
1.24 + return self.process_structure_node(node)
1.25 +
1.26 def process_augassign_node(self, n):
1.27
1.28 "Process the given augmented assignment node 'n'."