Skip to content

Ignore underscores when parsing literal numeric values#247

Merged
rhaschke merged 1 commit intoros:noetic-develfrom
ubi-agni:noetic-devel
Aug 8, 2020
Merged

Ignore underscores when parsing literal numeric values#247
rhaschke merged 1 commit intoros:noetic-develfrom
ubi-agni:noetic-devel

Conversation

@rhaschke
Copy link
Copy Markdown
Contributor

@rhaschke rhaschke commented Aug 7, 2020

python3, due to PEP515, allows numerical values to be (visually) grouped via underscores.
However, here, we want to consider literals containing an underscore as a string.

Fixes #246.

python3, due to PEP515, allows numerical values to be (visually) grouped via underscores.
However, here, we want to consider literals containing an underscore as a string.
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.

values of macro parameters only containing numbers and underscores are truncated

1 participant