7 Aug
2020
7 Aug
'20
9:47 a.m.
On Sat, 25 Jul 2020, Serge Gautherie wrote: [...]
- } elsif ($preprocessor =~ /^\#\s*elif\s+defined(_WIN64)/) { + } elsif ($preprocessor =~ /^\#\s*elif\s+defined\(_WIN64\)/) {
This also replaces a tab with spaces. Spaces are allowed around defined so you may add defensive \s*-s while you're at it: } elsif ($preprocessor =~ /^\#\s*elif\s+defined\s*\(\s*_WIN64\s*\)/) { I don't know if there are other places that would benefit from a similar treatment. -- Francois Gouget <fgouget(a)free.fr> http://fgouget.free.fr/ Advice is what we ask for when we already know the answer but wish we didn't -- Eric Jong