These tokens don't current add any value, but actually produces a bug where a SyntaxError due to mis-applied ++ operator mentions "--" instead of "++". rdar://76830934
Created attachment 427563 [details] proposed patch.
Comment on attachment 427563 [details] proposed patch. I'm gonna investigate why there are EWS failures.
I was wrong about AUTOPLUSPLUS not being needed. It’s needed to distinquish this: ``` statement ++ stuff ``` from this: ``` statement ++stuff ``` AUTOPLUSPLUS tells us that that there’s a `\n` there, which tells us that the ++ is a prefix for the next token, not a postfix for the last one. So, the real bug is that the SyntaxError message needs to take into account AUTOPLUSPLUS.
Created attachment 427605 [details] proposed patch.
Thanks for the review. The AS Mac failures are not related. Landed in r276942: <http://trac.webkit.org/r276942>.