Skip to content

Commit

Permalink
hclsyntax: Add license headers to generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Feb 16, 2024
1 parent 48f2d79 commit 2f101e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hclsyntax/expression_vars_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ func main() {

}

const outputPreamble = `package hclsyntax
const outputPreamble = `// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package hclsyntax
// Generated by expression_vars_get.go. DO NOT EDIT.
// Run 'go generate' on this package to update the set of functions here.
Expand Down
2 changes: 2 additions & 0 deletions hclsyntax/scan_string_lit.rl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package hclsyntax

Expand Down
2 changes: 2 additions & 0 deletions hclsyntax/scan_tokens.rl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package hclsyntax

Expand Down

0 comments on commit 2f101e2

Please sign in to comment.