json/parser: flatten

This commit is contained in:
Mitchell Hashimoto 2015-11-08 16:20:34 -08:00
parent 278bb105f2
commit 407a4ff94c

View File

@ -57,7 +57,7 @@ func (p *Parser) Parse() (*ast.File, error) {
// Flatten it, which finds patterns and turns them into more HCL-like
// AST trees.
// flattenObjects(f.Node)
flattenObjects(f.Node)
return f, nil
}