| commit | edebcb7ae287ca014d4926035c552ddf8f902edd | [log] [tgz] |
|---|---|---|
| author | Mike Sherov <mike.sherov@gmail.com> | Wed Mar 18 22:38:21 2015 -0400 |
| committer | Mike Sherov <mike.sherov@gmail.com> | Wed Mar 18 22:49:02 2015 -0400 |
| tree | d37178dba5aed77b040bdfc6fa28f8a0590f0c4f | |
| parent | 5a99bb005322407e54142932fea0c868d70fe743 [diff] |
Template Strings: fix double scanning of template literals
Also breaks scanning of { and } into a separate clause in the switch statement
to avoid having to conditional logic related to the stack on unrelated tokens.
This more closely reflects the situation in the master branch as well.
Fixes #1143
Closes gh-1145Esprima (esprima.org, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima is created and maintained by Ariya Hidayat, with the help of many contributors.
Esprima serves as a building block for some JavaScript language tools, from code instrumentation to editor autocompletion.
Esprima runs on many popular web browsers, as well as other ECMAScript platforms such as Rhino and Node.js.
For more information, check the web site esprima.org.