gurkankaymak / hocon

go implementation of lightbend's HOCON configuration library https://github.com/lightbend/config
MIT License
79 stars 17 forks source link

Value starting with number isn't parsed as string #35

Closed sholsapp closed 1 year ago

sholsapp commented 1 year ago

The following HOCON fails to parse with missing comma! at: 2:16, values should have comma or ASCII newline ('\n') between them.

x {
    a.b = 100foo
}

One can work around the issue by quoting the value if it does not contain a substitution.