diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-02-06 09:09:27 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-02-22 11:26:52 +0100 |
commit | 094135ff96c8f7a0951f66a2a1f82371b76e143f (patch) | |
tree | 8b8c542a0b5af763c7e029429291a3ccef52d3e7 /tpl/internal/go_templates/texttemplate/parse/lex.go | |
parent | 4801e2e8ee625a62ef0f59f0fe06a15741d677f1 (diff) |
tpl/internal: Sync Go template src to Go 1.20
Updates #10691
Diffstat (limited to 'tpl/internal/go_templates/texttemplate/parse/lex.go')
-rw-r--r-- | tpl/internal/go_templates/texttemplate/parse/lex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/internal/go_templates/texttemplate/parse/lex.go b/tpl/internal/go_templates/texttemplate/parse/lex.go index 3e60a1ece..70fc86b63 100644 --- a/tpl/internal/go_templates/texttemplate/parse/lex.go +++ b/tpl/internal/go_templates/texttemplate/parse/lex.go @@ -520,7 +520,7 @@ func lexVariable(l *lexer) stateFn { return lexFieldOrVariable(l, itemVariable) } -// lexVariable scans a field or variable: [.$]Alphanumeric. +// lexFieldOrVariable scans a field or variable: [.$]Alphanumeric. // The . or $ has been scanned. func lexFieldOrVariable(l *lexer, typ itemType) stateFn { if l.atTerminator() { // Nothing interesting follows -> "." or "$". |