Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Windows macros in the parser and lexer #9757

Merged

Conversation

Ericson2314
Copy link
Member

Motivation

FLOAT, INT, and IN are identifers taken by macros.

Context

The name IN_KW is chosen to match OR_KW, which is presumably named that way for the same reason of dodging macros.

Priorities and Process

Add 👍 to pull requests you find important.

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

`FLOAT`, `INT`, and `IN` are identifers taken by macros.

The name `IN_KW` is chosen to match `OR_KW`, which is presumably named
that way for the same reason of dodging macros.
Copy link
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure these form a private interface, so renames are nothing special.

@Ericson2314 Ericson2314 merged commit 7ab0a4c into NixOS:master Jan 14, 2024
9 checks passed
@Ericson2314 Ericson2314 deleted the parser-dodge-windows-macros branch January 14, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants