aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/string-literal.js
AgeCommit message (Expand)Author
2021-02-01introduce `templates` (#4603)Alex Lam S.L
2020-10-19extend support for Unicode (#4228)Alex Lam S.L
2019-12-25fix corner case in `directives` (#3645)Alex Lam S.L
2018-06-24improve `mocha` tests (#3195)Alex Lam S.L
2017-08-14don't escape null characters as \0 when followed by any digit (#2273)...fixes #2272Erik Desjardins
2017-07-23unescape surrogate pairs only (#2246)...fixes #2242Alex Lam S.L
2017-05-08deprecate low level API (#1877)...fixes #1872Alex Lam S.L
2017-02-27improve error messages (#1506)...- better inheritance of `Error` sub-classes - mark parse error against source in CLI closes #235 closes #348 closes #524 closes #1356 closes #1405Alex Lam S.L
2016-07-21Legacy octal integer strict mode fixesAnthony Van de Gejuchte
2016-06-30Various LineTerminator changes...* Escaped newlines should also produce SyntaxError * Fix multiline comment parsing and add tests * Adapt makePredicate to handle \u2028 and \u2029 * Move up nlb check in regex so it's checked before any escape handling * Change error messages to conform ecma standard * Find_eol not recornizing \u2028 and \u2029 as line terminator * Remove \u180e as it is removed in unicode 6.3.0 from the category zs Anthony Van de Gejuchte
2016-06-30Move OctalEscapeSequence to read_escape_char...This should simplify and improve implementation, make it easier to implement template strings, and keep master a bit more in sync with harmony. Previous implementation wasn't broken, though the loop gave me the impression it could read infinite numbers and annoyed me a bit. It was also slightly unnecessary because the lookup involved only 3 characters. Anthony Van de Gejuchte
2016-06-19Don't mix strings with directives in output... * Don't interpret strings with escaped content as directive * Don't interpret strings after empty statement as directive * Adapt output to prevent strings being represent as directive * Introduce UGLIFY_DEBUG to allow internal testing like EXPECT_DIRECTIVE Anthony Van de Gejuchte
2016-06-12Fix octal string strict mode testsRichard van Velzen
2016-06-12Throw errors in strict mode for octal strings...Adds a directive tracker for the parser/tokenizer to allow parsing depending on directive context. Anthony Van de Gejuchte
2016-01-13Add test case for line continuationAnthony Van de Gejuchte
2015-12-27Add mocha testsAnthony Van de Gejuchte