member ctx removed from struct parser because it is unused

This commit is contained in:
2024-06-07 09:03:42 +02:00
parent 00c76b41f1
commit 0d01afcc9f
4 changed files with 8 additions and 11 deletions
+2 -5
View File
@@ -11,13 +11,10 @@ import (
//-------- parser
type parser struct {
ctx ExprContext
}
func NewParser(ctx ExprContext) (p *parser) {
p = &parser{
ctx: ctx,
}
func NewParser() (p *parser) {
p = &parser{}
return p
}