Skip to content

Fix ; and # bug in machine file parsing - #12984

Merged
Mic92 merged 1 commit into
NixOS:masterfrom
obsidiansystems:fix-machine-commment-semicolon
Apr 9, 2025
Merged

Mic92 merged 1 commit into
NixOS:masterfrom
obsidiansystems:fix-machine-commment-semicolon

Conversation

@Ericson2314

Copy link
Copy Markdown
Member

Motivation

Comments go to the end of the line, not merely the next ; or \n. Fix by splitting on ; within lines, and test.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Comments go to the end of the line, not merely the next ; *or* \n. Fix
by splitting on `;` *within* lines, and test.
@Ericson2314
Ericson2314 requested a review from edolstra as a code owner April 9, 2025 17:51
@Ericson2314 Ericson2314 added the backport 2.28-maintenance Automatically creates a PR against the branch label Apr 9, 2025
@Mic92
Mic92 enabled auto-merge April 9, 2025 18:10
@Mic92
Mic92 merged commit d450671 into NixOS:master Apr 9, 2025
@Ericson2314
Ericson2314 deleted the fix-machine-commment-semicolon branch April 9, 2025 18:29
mergify Bot added a commit that referenced this pull request Apr 9, 2025
…2984

Fix `;` and `#` bug in machine file parsing (backport #12984)
mergify Bot added a commit that referenced this pull request Apr 9, 2025
…2984

Fix `;` and `#` bug in machine file parsing (backport #12984)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants