1

Resolved

String Literals not parsed correctly, cause syntax errors

description

String literals which are delimited with single quotes cause a syntax error.
Long-form strings are not parsed correctly, either.
 
Of the following examples, only the first one parses correctly:
a = "alo\n123\""
a = 'alo\n123"'
a = '\97lo\10\04923"'
a = [[alo
123"]]
a = [==[
alo
123"]==]

comments

salec wrote Jan 1, 2010 at 8:17 PM

Fixed in latest release.

Takuan wrote Jan 2, 2010 at 12:27 AM

Fix verified. Thank you :)

wrote Feb 14, 2013 at 8:23 PM

wrote May 16, 2013 at 10:02 AM

wrote May 16, 2013 at 10:02 AM

wrote Jun 14, 2013 at 7:17 AM