8 Commits

Author SHA1 Message Date
Paul Hinze
e2c26b8e6f support heredoc identifiers with numbers
fixes https://github.com/hashicorp/terraform/issues/4079
2015-12-01 10:22:31 -06:00
Eljas Alakulppi
2ec27b6be2 Fixed hang when comment was on the last line of the file 2015-11-29 00:20:41 +02:00
James Nugent
c190e41403 Fix scanning of identifiers of the form 'map.key'
This is used in `.tfvars` files for Terraform in order to allow
overriding values in maps, for example:

    map.key1 = "Value"
    map.key2 = "OtherValue"
2015-11-24 15:13:07 +02:00
Mitchell Hashimoto
82ad2beb52 hcl/scanner: scan heredocs 2015-11-10 14:01:56 -08:00
Mitchell Hashimoto
6cc18eb70b hcl/scanner: actually scan all things with exponents as floats 2015-11-06 23:33:25 -08:00
Mitchell Hashimoto
798e1c6c05 hcl/scanner: allow hyphens in idents 2015-11-06 17:56:57 -08:00
Mitchell Hashimoto
22bdcc2db1 hcl/scanner: scan interpolations properly 2015-11-06 17:55:07 -08:00
Mitchell Hashimoto
d7c35808a8 move hclnew to hcl 2015-11-06 16:04:20 -08:00