hcl/hclpack
Antti Kupila 40e962e08e hclpack: fix marshalling file index positions
When marshalling, the current file index was not stored. Because of
this, a ';' was inserted multiple times for each file, even if the file
did not change.

When unmarshalling, the fileIdx determined by number of ';' was ignored.
Thus, if there were more than one file, all the positions would still
point to the first file.
2019-01-10 11:12:57 -08:00
..
didyoumean.go hclpack: New package for wire representations of hcl bodies 2018-11-10 09:36:26 -08:00
doc.go hclpack: New package for wire representations of hcl bodies 2018-11-10 09:36:26 -08:00
example_test.go hclpack: Implement JSON marshaling (but not unmarshaling, yet) 2018-11-11 03:25:19 +00:00
expression_test.go hclpack: New package for wire representations of hcl bodies 2018-11-10 09:36:26 -08:00
expression.go hclpack: Implement UnwrapExpression for our expressions 2018-11-11 08:34:44 -08:00
exprsourcetype_string.go hclpack: Update ExprSourceType.String to include ExprLiteralJSON 2018-11-11 09:29:36 -08:00
json_marshal_test.go hclpack: Body can now unmarshal from JSON 2018-11-11 09:22:08 -08:00
json_marshal.go hclpack: Body can now unmarshal from JSON 2018-11-11 09:22:08 -08:00
pack_native_test.go hclpack: PackNativeFile to get a packed version of a native syntax file 2018-11-11 00:40:31 +00:00
pack_native.go hclpack: PackNativeFile to get a packed version of a native syntax file 2018-11-11 00:40:31 +00:00
positions_packed_test.go hclpack: fix marshalling file index positions 2019-01-10 11:12:57 -08:00
positions_packed.go hclpack: fix marshalling file index positions 2019-01-10 11:12:57 -08:00
structure_test.go hclpack: fix missing range on remaining body 2019-01-10 11:09:24 -08:00
structure.go hclpack: fix missing range on remaining body 2019-01-10 11:09:24 -08:00
vlq.go hclpack: Body can now unmarshal from JSON 2018-11-11 09:22:08 -08:00