-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bug: Cannot parse quotes in table name #3
Comments
Are you sure you're on the latest version? This snippet is working on my end, the previous push added a bunch of test cases and fixes and should have fixed this exact bug. |
Pulling the latest version gives me another issue; It fails to parse else if(node.Kind == .Int)
{
output.AppendF("{}", node.GetInt().Value);
} to |
This was also a problem; [Configs]
grill add = { Win32 = { ConfigSelections = { Grill = { Config = "Debug" } } } }
grill install = { Win32 = { ConfigSelections = { Grill = { Config = "Debug" } } } } Is not parsable, without quotes around grill add and grill install. |
Is that valid TOML? I had assumed it wasn't as the spec appears to have no examples of such a key. If that IS valid I can go ahead and support it though. There might also be some problems in the serialization part, I hadn't revisited it since I revised a bunch of the parser & node code, I'll go back in and probably write some unit tests to ensure the serializer works as expected |
Error:
Expected '.' or ']' to end table name, but got " instead (line 7)
when parsing:The text was updated successfully, but these errors were encountered: