in reply to Re^2: Semicolon terminating paren-less call to 'opendir' triggers a bogus warning
in thread Semicolon terminating paren-less call to 'opendir' triggers a bogus warning

You are right, it's only the semicolon.

The parser is full of heuristics trying to DWIM ambiguities.

So probably that's one of the side effects, when the code ends abruptly. 🤷‍♂️

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: Semicolon terminating paren-less call to 'opendir' triggers a bogus warning