Closed Bug 779789 Opened 14 years ago Closed 14 years ago

Add support for Harmony modules to TokenStream

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: ejpbruel, Assigned: ejpbruel)

References

Details

(Whiteboard: [js:t])

Attachments

(1 file)

As a first step towards implementing Harmony modules, several reserved keywords (i.e. export/import), have to be turned into real keywords.
Attachment #648312 - Flags: review?(jorendorff)
Presumably this doesn't block bug 568593 :)
Blocks: 779810
Comment on attachment 648312 [details] [diff] [review] Patch to be reviewed We haven't been consistently making new JS_HAS_* feature macros for some time, because they're not all that useful. There aren't any for default parameters, rest params, or for-of, for example; no one has complained. So I'm in favor of ditching JS_HAS_MODULES. Your call, though.
Attachment #648312 - Flags: review?(jorendorff) → review+
Whiteboard: [js:p2]
Whiteboard: [js:p2] → [js:t]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: