hcl/zclwrite
Martin Atkins 5477fecfad zclsyntax: require newlines after block items
Previously we tolerated EOF as an alias for newline, but a file without
a newline at the end is a edge case primarily limited to contrived
examples in unit tests, and requiring it simplifies tasks such as code
generation in zclwrite, since we can always assume that every block item
comes with a built-in line terminator.
2017-06-09 08:19:47 -07:00
..
ast.go zclwrite: absorb lead comments into attributes 2017-06-08 09:04:27 -07:00
doc.go zclwrite: stub of zcl code generation package 2017-05-29 16:05:34 -07:00
format.go zclwrite: begin to flesh out public interface 2017-06-07 07:24:10 -07:00
native_node_sorter.go zclwrite: foundations of the writer parser 2017-06-06 08:53:13 -07:00
parser_test.go zclsyntax: require newlines after block items 2017-06-09 08:19:47 -07:00
parser.go zclwrite: consume trailing line comments and newlines in body items 2017-06-09 08:00:38 -07:00
public.go zclwrite: Rename "Parse" to "ParseConfig" 2017-06-07 08:28:43 -07:00
round_trip_test.go zclsyntax: require newlines after block items 2017-06-09 08:19:47 -07:00
tokens.go zclwrite: Don't crash if EachToken called on a nil TokenSeq. 2017-06-07 07:39:01 -07:00