Skip to content

Fix copy/paste error in setting up DEFAULT_LEX_FLAGS.case_insensitive.#636

Merged
ltratt merged 1 commit intosoftdevteam:masterfrom
ratmice:default_lex_flags_paste_error
May 3, 2026
Merged

Fix copy/paste error in setting up DEFAULT_LEX_FLAGS.case_insensitive.#636
ltratt merged 1 commit intosoftdevteam:masterfrom
ratmice:default_lex_flags_paste_error

Conversation

@ratmice
Copy link
Copy Markdown
Collaborator

@ratmice ratmice commented May 3, 2026

This was accidentally defaulting to the default value for allow_wholeline_comments. This shouldn't have any effect, because DEFAULT_LEX_FLAGS.allow_wholeline_comments defaults to a different value Some(false) vs None.

The None value sets it use the regex default value which is false.

This was accidentally defaulting to the default value for `allow_wholeline_comments`.
This shouldn't have any effect, because `DEFAULT_LEX_FLAGS.allow_wholeline_comments`
defaults to a different value `Some(false)` vs `None`.

The `None` value sets it use the regex default value which is `false`.
@ltratt ltratt added this pull request to the merge queue May 3, 2026
Merged via the queue into softdevteam:master with commit 8858a0c May 3, 2026
2 checks passed
@ratmice ratmice deleted the default_lex_flags_paste_error branch May 3, 2026 23:39
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.

2 participants