generate: Add Any type to parser and syntax tree

This commit is contained in:
2025-09-08 09:58:50 -04:00
parent 8dac25035f
commit 419c3651bf
3 changed files with 10 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ func (this *parser) parseType() (Type, error) {
case "String": return TypeString { }, this.Next()
case "Buffer": return TypeBuffer { }, this.Next()
case "Table": return TypeTable { }, this.Next()
case "Any": return TypeAny { }, this.Next()
}
return this.parseTypeNamed()
case TokenLBracket: