[Webkit-unassigned] [Bug 198357] [WHLSL] Remove the last bits of backtracking from the parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 12 10:19:06 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198357

--- Comment #1 from Robin Morisset <rmorisset at apple.com> ---
Currently they are required because of our syntax for array declaration: when seeing x[42] it is ambiguous if it is the beginning of a declaration (x[42]y;) or the beginning of an assignment (x[42] = y;).
If we go back to a C-like syntax for array declarations (x y[42];) the ambiguity will be gone, and we will be able to remove the backtracking.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190712/3819426b/attachment.html>


More information about the webkit-unassigned mailing list