Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array tables #8

Open
clord opened this issue Apr 15, 2016 · 1 comment
Open

Array tables #8

clord opened this issue Apr 15, 2016 · 1 comment
Labels

Comments

@clord
Copy link
Member

clord commented Apr 15, 2016

Toml has array sections:

[[a]]
x = 1
[[a]]
x = 2

which parses to the same thing as:

a = [{"x": 1}, {"x": 2}]

(confirm)

I don't want to tokenize runs of two brackets separately because they occur with their normal meaning elsewhere, e.g., nested array literals: x = [[1,2,3], [4,5,6]] so they will have to be parsed.

@clord clord added the testcase label Apr 15, 2016
@pbrisbin
Copy link
Contributor

Is this fixed by #18? The 1 toml-test failure left after that PR merges doesn't appear related to this class of input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants