Skip to content

Commit

Permalink
Add --ecma7 option to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbesLindesay authored and marijnh committed Jan 13, 2015
1 parent 1b8069e commit cee56da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/acorn
Expand Up @@ -20,6 +20,7 @@ for (var i = 2; i < process.argv.length; ++i) {
else if (arg == "--ecma3") options.ecmaVersion = 3;
else if (arg == "--ecma5") options.ecmaVersion = 5;
else if (arg == "--ecma6") options.ecmaVersion = 6;
else if (arg == "--ecma7") options.ecmaVersion = 7;
else if (arg == "--strictSemicolons") options.strictSemicolons = true;
else if (arg == "--locations") options.locations = true;
else if (arg == "--silent") silent = true;
Expand Down

0 comments on commit cee56da

Please sign in to comment.