* pygnulib/GLImport.py (GLImport.execute): Recognize #if also at the
beginning of an Include snippet.
+2024-03-25 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool.py: Tweak last change.
+ * pygnulib/GLImport.py (GLImport.execute): Recognize #if also at the
+ beginning of an Include snippet.
+
2024-03-25 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Fix output of #include directive advice.
include_if = []
for module in modules:
include = module.getInclude()
- if '\n#if' in include:
+ if '\n#if' in '\n'+include:
include_if += [ f' {line}'
for line in include.split('\n')
if line.strip() ]