hcl/json/scanner
Paul Hinze feb701804f Restore old behavior for \" within interpolations
Before the parser rewrite, HCL would silently convert `\"` within
interpolation braces to `"`.

After the conversion, this became a syntax error.

We've found several instances of Terraform configs in the wild using
this syntax. It results in a hard "syntax error" message during config
parsing. While avoiding the extra escape on double quotes within
interpolations is definitely preferred, the UX of the syntax error feels
harsh enough to be worth inserting this backwards compatibility for now,
leaving us the option of deprecating it with a warning down the line.
2015-11-19 12:04:02 -06:00
..
scanner_test.go Restore old behavior for \" within interpolations 2015-11-19 12:04:02 -06:00
scanner.go json/scanner: beef up tests with real example 2015-11-08 14:39:43 -08:00