Merge pull request #868 from xiemaisi/js/discard-tokens-early

Approved by esben-semmle
This commit is contained in:
semmle-qlci
2019-02-04 11:32:03 +00:00
committed by GitHub
233 changed files with 69072 additions and 73202 deletions

View File

@@ -3,3 +3,5 @@
| comments.js:3:7:3:29 | <!-- HT ... t start | HTML comment start |
| comments.js:4:1:4:18 | /** doc comment */ | doc comment |
| comments.js:5:1:5:20 | --> HTML comment end | HTML comment end |
| comments.js:7:1:7:9 | /*start*/ | start |
| comments.js:7:24:7:30 | /*end*/ | end |

View File

@@ -2,4 +2,6 @@
/* block comment */
stuff <!-- HTML comment start
/** doc comment */
--> HTML comment end
--> HTML comment end
/*start*/function f() {/*end*/}

View File

@@ -1,4 +1,7 @@
| comments.js:1:1:1:15 | // line comment | comments.js:3:1:3:5 | stuff |
| comments.js:2:1:2:19 | /* block comment */ | comments.js:3:1:3:5 | stuff |
| comments.js:3:7:3:29 | <!-- HT ... t start | comments.js:5:21:5:20 | |
| comments.js:4:1:4:18 | /** doc comment */ | comments.js:5:21:5:20 | |
| comments.js:3:7:3:29 | <!-- HT ... t start | comments.js:7:10:7:17 | function |
| comments.js:4:1:4:18 | /** doc comment */ | comments.js:7:10:7:17 | function |
| comments.js:5:1:5:20 | --> HTML comment end | comments.js:7:10:7:17 | function |
| comments.js:7:1:7:9 | /*start*/ | comments.js:7:10:7:17 | function |
| comments.js:7:24:7:30 | /*end*/ | comments.js:7:31:7:31 | } |