mrbkap%gmail.com
44f2bb5d5a
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
851b03c243
Rename FunctionDeclaration to FunctionDefinition, since it handles declarations, statements, and expressions (mimicing ECMA).
2005-07-07 00:21:09 +00:00
brendan%mozilla.org
0cb5241ec3
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
7974c73eb2
Use non-greedy closure to match C-style comments.
2005-07-01 23:00:35 +00:00
brendan%mozilla.org
d05a6820cc
Add function statements, an ECMA Ed. 3 extension supported by SpiderMonkey.
2005-06-30 18:16:19 +00:00
brendan%mozilla.org
1ae219610b
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
effdf8506f
Use label local in Statement; eliminate somewhat arbitrary empty lines.
2004-02-25 09:06:36 +00:00
brendan%mozilla.org
9be47ec08d
s/compile/parse/ -- compile is overgeneral, especially in light of what's next.
2004-02-24 03:04:40 +00:00
brendan%mozilla.org
4b6cb095da
Add ecmaStrictMode to CompilerContext.
2004-02-22 07:21:55 +00:00
brendan%mozilla.org
6a7bb61959
t.scanOperand should be true by default, eliminating scanForOperand bloat.
2004-02-17 08:43:48 +00:00
brendan%mozilla.org
402cc46636
- 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
20d6618029
Fix Expression to work with Statement's automatic semicolon insertion logic.
2004-02-14 21:56:41 +00:00
brendan%mozilla.org
21766deb5a
Fix Expression to stop on : only if hookLevel is not elevated.
2004-02-11 08:30:20 +00:00
brendan%mozilla.org
6e82d5c043
Checkpoint, still not quite metacircularly bootstrapped.
2004-02-11 07:57:19 +00:00
brendan%mozilla.org
6dcc130f14
- 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
1314cb7e3b
JS implemented in JS, initial checkin.
2004-02-03 03:28:54 +00:00