()
| 474 | }; |
| 475 | |
| 476 | function read_multiline_comment() { |
| 477 | next(); |
| 478 | return with_eof_error("Unterminated multiline comment", function(){ |
| 479 | var i = find("*/", true), |
| 480 | text = S.text.substring(S.pos, i); |
| 481 | S.pos = i + 2; |
| 482 | S.line += text.split("\n").length - 1; |
| 483 | S.newline_before = S.newline_before || text.indexOf("\n") >= 0; |
| 484 | |
| 485 | // https://github.com/mishoo/UglifyJS/issues/#issue/100 |
| 486 | if (/^@cc_on/i.test(text)) { |
| 487 | warn("WARNING: at line " + S.line); |
| 488 | warn("*** Found \"conditional comment\": " + text); |
| 489 | warn("*** UglifyJS DISCARDS ALL COMMENTS. This means your code might no longer work properly in Internet Explorer."); |
| 490 | } |
| 491 | |
| 492 | return token("comment2", text, true); |
| 493 | }); |
| 494 | }; |
| 495 | |
| 496 | function read_name() { |
| 497 | var backslash = false, name = "", ch, escaped = false, hex; |
no test coverage detected