diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-05 20:54:29 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-05 20:54:29 +0200 |
commit | 8bbd0d556c0bf583b16076844b9e263a5f996495 (patch) | |
tree | c99321586e367572d2dc534a99f6aaeb486e0928 /js/src/frontend/TokenStream.h | |
parent | c3b63b831cd2c64700e875b28540212c7c881ac6 (diff) | |
download | UXP-8bbd0d556c0bf583b16076844b9e263a5f996495.tar UXP-8bbd0d556c0bf583b16076844b9e263a5f996495.tar.gz UXP-8bbd0d556c0bf583b16076844b9e263a5f996495.tar.lz UXP-8bbd0d556c0bf583b16076844b9e263a5f996495.tar.xz UXP-8bbd0d556c0bf583b16076844b9e263a5f996495.zip |
Split Parser::report into Parser::zeport (a temporary name) that uses
the current offset, and Parser::reportWithNode that derives it from a
Node.
Diffstat (limited to 'js/src/frontend/TokenStream.h')
-rw-r--r-- | js/src/frontend/TokenStream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/frontend/TokenStream.h b/js/src/frontend/TokenStream.h index 77eea3d81..03a580072 100644 --- a/js/src/frontend/TokenStream.h +++ b/js/src/frontend/TokenStream.h @@ -577,6 +577,7 @@ class MOZ_STACK_CLASS TokenStream *offset = pos.begin; return true; } + // This is like peekToken(), with one exception: if there is an EOL // between the end of the current token and the start of the next token, it // return true and store TOK_EOL in |*ttp|. In that case, no token with |