[parser] Check overflow in parser productions rather than token handling
Added to crucial productions that will incur in any infinite recursion: - In ParsePrimaryExpression - In all ParseUnaryExpression subrules - In ParseDoWhileStatement - In ParseBlock Change-Id: Iaee295eb5652e57712d029999b36078fea3b7dab Reviewed-on: https://chromium-review.googlesource.com/c/1290794Reviewed-by:Camillo Bruni <cbruni@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#56816}
Showing
Please
register
or
sign in
to comment