nashorn/test/script/basic/NASHORN-575.js.EXPECTED
author attila
Thu, 17 Oct 2013 12:38:50 +0200
changeset 21437 9f558215d924
parent 16147 e63b63819133
permissions -rw-r--r--
8026161: Don't narrow floating-point literals in the lexer Reviewed-by: hannesw, jlaskey

SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
// foo
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/* foo */
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/foo/
^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" // foo }
               ^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" /* foo */ }
               ^
SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
{"foo" : /foo/}
         ^