mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-29 16:35:43 +00:00
Make ParserImp::const_literal() bubble up any error by the tokenizer. These were being ignored. Also: * Detect and report significand too large * Detect and report missing exponent * Fix invalid mantissa overflow detection for fractional trailing zeroes * Fix zero with non-zero exponent triggering an assert, and instead, make the result zero (added tests for this). Bug: chromium:1235132 Bug: tint:77 Change-Id: I364a4c944121a2c55ff3161de1bb50126c8a5526 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60680 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>