Reviewers: dcarney,
Message:
Committed patchset #1 manually as r17883.
Description:
Experimental lexer generator: Add a test file with unicode identifiers.
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=17883
Please review this at https://codereview.chromium.org/76063004/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser
Affected files (+2, -1 lines):
A + test/lexer/cornercases/unicode-identifiers.js
Index: test/lexer/cornercases/unicode-identifiers.js
diff --git a/test/lexer/cornercases/end-inside-string2.js
b/test/lexer/cornercases/unicode-identifiers.js
similarity index 95%
copy from test/lexer/cornercases/end-inside-string2.js
copy to test/lexer/cornercases/unicode-identifiers.js
index
35c9e5a2beb0b723415b379801b1bb7ca333853f..982b2e18f86868ec619109af4b20df11730d41d3
100644
--- a/test/lexer/cornercases/end-inside-string2.js
+++ b/test/lexer/cornercases/unicode-identifiers.js
@@ -25,4 +25,5 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-var description = 'this file ends inside a string -- that can't be good!
\ No newline at end of file
+'This is a valid identifier:', \u1118foo
+'This too:', bar\u1118\u1118\u1118
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.