diff --git a/main.go b/main.go index 9200d8ab..5d4550d3 100644 --- a/main.go +++ b/main.go @@ -89,6 +89,10 @@ func convertLinesToNodes(lines []string) (nodes []treeNode, errs []error) { if strings.TrimSpace(line) == "" { continue } + // ignore nodes + if strings.Contains(line, "value: Int") { + continue + } // It is tempting to discard null AST nodes, but these may // have semantic importance: for example, they represent omitted