Open JasperTimm opened 9 years ago
It seems like the parser is having trouble with comments which are not followed by spaces before the next value. See below:
>> TOML.load("Host = 6") => {"Host"=>6} >> TOML.load("#Host = 6") => {"#Host"=>6} >> TOML.load("#\nHost = 6") => {"#\nHost"=>6} >> TOML.load("#\nHost = 6") => {"#\nHost"=>6} >> TOML.load("#\n Host = 6") => {"Host"=>6} >> TOML.load("# \nHost = 6") => {"Host"=>6}
Weird! @BurntSushi, do you have a test for this in toml-test?
It seems like the parser is having trouble with comments which are not followed by spaces before the next value. See below: