Skip to content

Conversation

@jefftrull
Copy link
Collaborator

@jefftrull jefftrull commented Nov 13, 2025

Integers with digit separators are already recognized as literal tokens. This commit adds proper interpretation of them as integers for use in expressions, e.g. with #if, by:

  1. Adding digit separators to the RE2C code that handles pp-numbers,
  2. Filtering out digit separators before extracting numeric values, and
  3. Adding appropriate unit tests

Integers with digit separators are already recognized as literal
tokens. This commit adds proper interpretation of them as integers for
use in expressions e.g. with #if
@jefftrull jefftrull requested a review from hkaiser November 13, 2025 22:36
@jefftrull
Copy link
Collaborator Author

FYI @APokorny

@jefftrull jefftrull merged commit ac31d13 into boostorg:develop Nov 17, 2025
7 checks passed
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