mna / agora

a dynamically typed, garbage collected, embeddable programming language built with Go
https://github.com/mna/agora/wiki
BSD 3-Clause "New" or "Revised" License
324 stars 27 forks source link

Escaped characters within strings not parsed correctly #9

Closed mna closed 10 years ago

mna commented 10 years ago

The string "\"" returns two characters \" instead of just the expected ". Same for \n, and probably all escapes.

mna commented 10 years ago

Use strconv.Quote() and strconv.Unquote, I think.

mna commented 10 years ago

Fixed on next