Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Allow leading underscores in identifiers #19

Closed
apparentlymart opened this issue Mar 3, 2018 · 1 comment
Closed

Allow leading underscores in identifiers #19

apparentlymart opened this issue Mar 3, 2018 · 1 comment

Comments

@apparentlymart
Copy link
Contributor

HCL2 uses the unicode definition of identifiers, which permits underscores only in the ID_Continue portion, and not in ID_Start.

It is a reasonable expectation from other languages that identifiers can begin with an underscore, so we'll extend the unicode definition here to include underscore in ID_Start, in similar vein to how we extended ID_Continue to include dashes.

@apparentlymart
Copy link
Contributor Author

Addressed in 061412b.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant