8d3642e200
This allows us to roll the Parser back to an earlier state if we need to do so. This includes: - rewinding the lexer - restoring the previous Pushback node - backing out AST nodes - backing out errors This functionality is used to back out of parsing a vardecl if we discover mid-stream that it is actually an expression statement that coincidentally starts with the name of a type. Change-Id: Ia5feb45019693931c1e6870e3ff7a5398924c863 Bug: skia:11198 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/356997 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
blend | ||
errors | ||
folding | ||
fp | ||
glsl | ||
inliner | ||
intrinsics | ||
metal | ||
runtime | ||
runtime_errors | ||
shared | ||
spirv | ||
workarounds |