wgsl-reader: reject identifiers starting with underscrore

Update one test to avoid this error.

Fixed: tint:1179
Change-Id: Id41b0eb0f404648de4e86a835fe43f1729cb4696
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/64464
Auto-Submit: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
David Neto
2021-09-20 14:38:45 +00:00
committed by Tint LUCI CQ
parent 871570bc7b
commit ddc9eb2b85
9 changed files with 504 additions and 478 deletions

View File

@@ -9,4 +9,5 @@
### Fixes
* Hex floats: issue an error when the magnitude is non-zero, and the exponent would cause
overflow. https://crbug.com/tint/1150 https://crbug.com/tint/1166
* Reject identifiers beginning with an underscore. https://crbug.com/tint/1179