mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-01 01:45:38 +00:00
postfix_expr() handles `[]` array accessors and call expressions `()`. Have postfix_expr() use sync to parse these: * It will use the end bracket token to attempt to resynchronize the parser on error * It also considers maximum parser recursion depth, avoiding stack overflows Fixed: chromium:1180573 Change-Id: I8c1c62c68e24a564e0e4e7d0de9f5a3fa7032369 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/42222 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>