Martin Atkins 3e4b7e0eb2 hclsyntax: If nested block doesn't parse, produce empty body
Our usual rule for parse errors is to return a valid-but-incomplete object
along with error diagnostics. This was violating that rule by returning
a nil child body, which callers do not expect to deal with.

Instead, we'll return an *empty* body, so that callers who use the partial
result for careful analyses can still process the block header, without
needing to guard against the body being nil.
2018-10-01 14:06:26 -07:00
..
2018-03-04 14:04:54 -08:00
2018-02-23 08:41:58 -08:00
2018-01-27 11:03:05 -08:00
2018-01-14 11:24:19 -08:00
2018-01-14 11:24:19 -08:00
2018-01-14 11:51:05 -08:00
2018-07-01 19:35:20 +02:00