Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 136345d

Browse files
committed
renamed "htmlcomment" to "html_comment"
1 parent db07478 commit 136345d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

javascript/ql/src/semmle/javascript/Comments.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class LineComment extends @linecomment, Comment { }
6565
* --> also an HTML line comment
6666
* ```
6767
*/
68-
class HtmlLineComment extends @htmlcomment, LineComment { }
68+
class HtmlLineComment extends @html_comment, LineComment { }
6969

7070
/**
7171
* An HTML comment start token interpreted as a line comment.

javascript/ql/src/semmlecode.javascript.dbscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,8 @@ case @comment.kind of
804804
| 3 = @htmlcommentstart
805805
| 4 = @htmlcommentend;
806806

807-
@htmlcomment = @htmlcommentstart | @htmlcommentend;
808-
@linecomment = @slashslashcomment | @htmlcomment;
807+
@html_comment = @htmlcommentstart | @htmlcommentend;
808+
@linecomment = @slashslashcomment | @html_comment;
809809
@blockcomment = @slashstarcomment | @doccomment;
810810

811811
// source lines

0 commit comments

Comments
 (0)