Thanks to visit codestin.com
Credit goes to github.com

Skip to content

allow both 0x and 0X as hexadecimal literal prefix #1453

@dneto0

Description

@dneto0

The current rule for hexadecimal integer literals and the proposed hex float (#1420) use only the lower case version 0x.

We had promised that the hex float syntax would follow C99, so that means we should allow 0X as well.

Metadata

Metadata

Assignees

Labels

wgslWebGPU Shading Language Issueswgsl:tokensWGSL tokenization and literals

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions