Skip to content

Remove the conditional z/OS indentation in pcre2grep - #981

Merged
NWilson merged 1 commit into
mainfrom
user/niwilson/pcre2grep-zos-indent
Sep 12, 2026
Merged

NWilson merged 1 commit into
mainfrom
user/niwilson/pcre2grep-zos-indent

Conversation

@NWilson

@NWilson NWilson commented Sep 12, 2026

Copy link
Copy Markdown
Member

The z/OS block in pcre2grep alters the indentation level with an ifdef, which I find ugly.

The fallthrough behaviour looks slightly incorrect too. There is a small behavioural adjustment with this.

I have also changed Windows to an "else if" in the same chain of ifs. I believe this has no effect in practice, since directories and wildcards are mutually exclusive conditions.

@NWilson
NWilson force-pushed the user/niwilson/pcre2grep-zos-indent branch from dfd5383 to 28778f4 Compare September 12, 2026 18:03
@NWilson
NWilson merged commit 1876ea1 into main Sep 12, 2026
40 checks passed
@NWilson
NWilson deleted the user/niwilson/pcre2grep-zos-indent branch September 12, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant