Enable parsing tables as struct not string
This commit is contained in:
parent
b82216af21
commit
4836c498a4
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ func (p *Parser) declare(tok Token, lit string) (interface{}, error) {
|
|||
case IDENT:
|
||||
return &Ident{lit}, nil
|
||||
|
||||
case TABLE:
|
||||
return &Table{lit}, nil
|
||||
|
||||
case NOW:
|
||||
return time.Now(), nil
|
||||
|
||||
|
|
Loading…
Reference in a new issue