aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ast/parser.go')
-rw-r--r--pkg/ast/parser.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ast/parser.go b/pkg/ast/parser.go
index bd5650ad5..a7cfdbf02 100644
--- a/pkg/ast/parser.go
+++ b/pkg/ast/parser.go
@@ -419,6 +419,7 @@ func (p *parser) parseType() *Type {
arg.Ident = p.lit
case tokString:
arg.String = p.lit
+ arg.HasString = true
default:
p.expect(tokInt, tokIdent, tokString)
}