diff options
| author | Bobby <[email protected]> | 2023-11-03 12:58:02 +0000 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-11-03 12:58:02 +0000 |
| commit | 955fdfb79f165bab521cf4f4e0e18613fd1f085b (patch) | |
| tree | 9bd3474cfa7f5552f5df8a4f0fe47095261ebc49 /parser/parser.go | |
| parent | 895fd381cc3867bb362f1abf19ffc26c41cbdbe7 (diff) | |
| download | mana-955fdfb79f165bab521cf4f4e0e18613fd1f085b.tar.xz mana-955fdfb79f165bab521cf4f4e0e18613fd1f085b.zip | |
fmt:source tree
Diffstat (limited to 'parser/parser.go')
| -rw-r--r-- | parser/parser.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/parser/parser.go b/parser/parser.go index bd587de..df15165 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -20,7 +20,7 @@ type Parser struct { // New returns a new Parser. func New(l *lexer.Lexer) *Parser { var p *Parser = &Parser{ - l: l, + l: l, errors: []string{}, } @@ -147,4 +147,3 @@ func (p *Parser) peekError(t tokens.TokenType) { p.errors = append(p.errors, msg) } - |
