Skip to content

Comments

Avoid Windows macros in the parser and lexer#9757

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:parser-dodge-windows-macros
Jan 14, 2024
Merged

Avoid Windows macros in the parser and lexer#9757
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:parser-dodge-windows-macros

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
@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