basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

Parser: Kill Trailing Comments #131

Closed joedevivo closed 10 years ago

joedevivo commented 10 years ago

Right now, everything on the RHS of the equal sign makes it into the Conf proplist value. We want to make sure trailing comments don't

e.g.

a.b.c = 6 # six is a good value

should not parse to

[{a, [{b, [ {c, "6 # six is a good value"}]}]}]

it should just be:

[{a, [{b, [ {c, "6"}]}]}]
joedevivo commented 10 years ago

+1 d0ec1f3

seancribbs commented 10 years ago

@borshop merge