Bug 514585: Recognize "use strict" directives. r=igor

This commit is contained in:
Jim Blandy
2009-11-18 13:33:53 -08:00
parent d48dccd251
commit 77964ebbf2
12 changed files with 151 additions and 21 deletions

View File

@@ -162,6 +162,7 @@ const char *const js_common_atom_names[] = {
js_configurable_str, /* configurableAtom */
js_writable_str, /* writableAtom */
js_value_str, /* valueAtom */
"use strict", /* useStrictAtom */
#if JS_HAS_XML_SUPPORT
js_etago_str, /* etagoAtom */