configs: Mention leading underscores in invalid identifier message

This commit is contained in:
Calle Pettersson 2019-11-12 01:22:33 +01:00 committed by Martin Atkins
parent ae5f43ba25
commit 73d574913d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
)
// A consistent detail message for all "not a valid identifier" diagnostics.
const badIdentifierDetail = "A name must start with a letter and may contain only letters, digits, underscores, and dashes."
const badIdentifierDetail = "A name must start with a letter or underscore and may contain only letters, digits, underscores, and dashes."
// Variable represents a "variable" block in a module or file.
type Variable struct {