Skip to content

Commit a2115f4

Browse files
authored
Merge pull request #259 from github/hmac-print-ast
Don't include desugared nodes in the printed AST
2 parents df4fb23 + e82c21d commit a2115f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ql/src/ide-contextual-queries/printAst.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ external string selectedSourceFile();
2121
*/
2222
class Cfg extends PrintAstConfiguration {
2323
override predicate shouldPrintNode(AstNode n) {
24+
super.shouldPrintNode(n) and
2425
n.getLocation().getFile() = getFileBySourceArchiveName(selectedSourceFile())
2526
}
2627
}

0 commit comments

Comments
 (0)