From 7d6ed4d8f315f66b6c64389c00a661d16c4161ef Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 8 Mar 2018 08:22:32 -0800 Subject: [PATCH] hclsyntax: emit Newline after a CHeredoc Previously, due to how heredoc scanning was implemented, the closing marker for a heredoc would consume the newline that terminated it. This was problematic in any context that is newline-sensitive, because it would cause us to skip the TokenNewline that might terminate e.g. an attribute definition: foo = <