Basic array table implementation

This commit is contained in:
Thomas Pelletier
2021-03-16 10:24:19 -04:00
parent c6892fcf5a
commit f9f9ccb777
5 changed files with 156 additions and 9 deletions
+2 -2
View File
@@ -73,6 +73,8 @@ func (p *parser) parseExpression(b []byte) ([]byte, error) {
return nil, err
}
p.tree = append(p.tree, node)
b = p.parseWhitespace(b)
if len(b) > 0 && b[0] == '#' {
@@ -80,8 +82,6 @@ func (p *parser) parseExpression(b []byte) ([]byte, error) {
return rest, err
}
p.tree = append(p.tree, node)
return b, nil
}