Brendan Eich
e8a6dd8b70
Fuss over comment in last changeset (518765).
2009-09-25 20:20:27 -07:00
Matthias Miller
25ece53e4e
Bug 518765 - Fix break/continue <label> handling in Narcissus. r=mrbkap
...
--HG--
extra : rebase_source : 9b55f88d4747cd2751877cfd45a3340a4fc401af
2009-09-25 19:19:12 -07:00
brendan@mozilla.org
0b62c0a1e4
Patch from nanto@moon.email.ne.jp for misordered alternates in string-lexing regexp, and lack of IE /[/]/ compat in regexp-lexing regexp (433831, r=me, NPOTB).
2008-05-21 15:38:18 -07:00
mrbkap@gmail.com
3e0670e952
Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB)
2007-12-18 17:15:41 -08:00
brendan@mozilla.org
c14ddb9adf
Fix post-increment/decrement automatic semicolon insertion bug (401466, r=mrbkap).
2007-11-04 14:21:19 -08:00
brendan@mozilla.org
db5d699473
Fix conditional expressions (401405, r=mrbkap).
2007-10-29 19:35:02 -07:00
brendan@mozilla.org
df567b52fb
Include $ and _ in identifier chars (still to do: Unicode alnums and escapes); based on patch from Frankie Robertson <frankierobertson5@googlemail.com> (399625, r=mrbkap).
2007-10-16 16:43:28 -07:00
brendan@mozilla.org
5f7baa7b6c
Fix from Frankie Robertson <frankierobertson5@googlemail.com> to Node toString (399659, r/a=me).
2007-10-16 15:56:16 -07:00
mrbkap@gmail.com
8fe65a69cb
Correctly parse regular expressions with the 'm' and 'y' flags. bug 378486, r=brendan
2007-05-18 18:57:30 -07:00
brendan@mozilla.org
eca0bc73e1
Fix blunder in reworking of how SpiderMonkey detects a label statement (reported by Steve Yegge).
2007-05-05 21:34:24 -07:00
mrbkap%gmail.com
dc0e278951
Fixing some silliness from my last checkin, tokenstr takes a tokentype, not the token itself. r=brendan
2006-03-22 06:23:59 +00:00
mrbkap%gmail.com
1d4b9a7b0a
Handle assignment inside the then part of ternary expressions correctly according to the ECMAScript grammar. bug 330975, r=brendan
2006-03-22 03:00:03 +00:00
mrbkap%gmail.com
5c696de243
Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan
2006-03-20 20:57:51 +00:00
mrbkap%gmail.com
f60971fc05
Don't pollute String.prototype. bug 330976, r=brendan
2006-03-20 20:15:15 +00:00
mrbkap%gmail.com
f47551589c
bug 300534: Internal Narcissus functions show up in objects' prototypes. This fixes a failure on the js testsuite and also fixes Narcissus' failure on SpiderMonkey's bug 299641. r=brendan
2005-07-13 02:46:10 +00:00
brendan%mozilla.org
67eeb2edef
Rename FunctionDeclaration to FunctionDefinition, since it handles declarations, statements, and expressions (mimicing ECMA).
2005-07-07 00:21:09 +00:00
brendan%mozilla.org
31cabefc0f
Fix expression statement (SEMICOLON) nodes to start and end at the same source index as their expression child.
2005-07-02 17:26:00 +00:00
brendan%mozilla.org
c77919f477
Use non-greedy closure to match C-style comments.
2005-07-01 23:00:35 +00:00
brendan%mozilla.org
a48f461e71
Add function statements, an ECMA Ed. 3 extension supported by SpiderMonkey.
2005-06-30 18:16:19 +00:00
brendan%mozilla.org
8dcdcb1f89
Parallel fix to SpiderMonkey's bug 238945, to automatically insert ; after do-while on any error token.
2004-03-30 03:25:17 +00:00
brendan%mozilla.org
b6b0241e94
Use label local in Statement; eliminate somewhat arbitrary empty lines.
2004-02-25 09:06:36 +00:00
brendan%mozilla.org
df0ecadb4b
s/compile/parse/ -- compile is overgeneral, especially in light of what's next.
2004-02-24 03:04:40 +00:00
brendan%mozilla.org
09acb4babf
Add ecmaStrictMode to CompilerContext.
2004-02-22 07:21:55 +00:00
brendan%mozilla.org
962663d3d9
t.scanOperand should be true by default, eliminating scanForOperand bloat.
2004-02-17 08:43:48 +00:00
brendan%mozilla.org
3ddaa18b05
- Add source and cursor properties to SyntaxError exceptions.
...
- Rework labeled statements to fix chicken-and-egg problem with BREAK to label
completion type targeting.
- Unify next-statement non-expression token cases and default: in Expression.
2004-02-16 02:38:19 +00:00
brendan%mozilla.org
76d7770850
Fix Expression to work with Statement's automatic semicolon insertion logic.
2004-02-14 21:56:41 +00:00
brendan%mozilla.org
70d3411bc0
Fix Expression to stop on : only if hookLevel is not elevated.
2004-02-11 08:30:20 +00:00
brendan%mozilla.org
f3068c76bf
Checkpoint, still not quite metacircularly bootstrapped.
2004-02-11 07:57:19 +00:00
brendan%mozilla.org
bd08f327fb
- ECMA-prescribed {DontEnum} attributes for length on empty arg list, and on
...
<any-function>.prototype.constructor.
- Put rarely-set default properties in prototypes.
- Improve a couple of comments.
2004-02-03 23:58:03 +00:00
brendan%mozilla.org
8f62320cc9
JS implemented in JS, initial checkin.
2004-02-03 03:28:54 +00:00