mirror of
https://github.com/github/codeql.git
synced 2026-02-11 20:51:06 +01:00
QL: Merge remote-tracking branch 'origin/main' into ast
This commit is contained in:
@@ -18,7 +18,10 @@ class PrintAstConfiguration extends string {
|
||||
/**
|
||||
* Holds if the given node should be printed.
|
||||
*/
|
||||
predicate shouldPrintNode(AstNode n) { not n instanceof LineComment }
|
||||
predicate shouldPrintNode(AstNode n) {
|
||||
not n instanceof LineComment and
|
||||
not n instanceof ReservedWord
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user