handle [=[...]=] comments and strings

This commit is contained in:
steve donovan 2011-07-14 15:23:20 +02:00
parent a41792c56c
commit da13ae5942
1 changed files with 2 additions and 2 deletions

View File

@ -307,9 +307,9 @@ function lexer.lua(s,filter,options)
{STRING3,sdump}, {STRING3,sdump},
{STRING1,sdump}, {STRING1,sdump},
{STRING2,sdump}, {STRING2,sdump},
{'^%-%-%[%[.-%]%]',cdump}, {'^%-%-%[(=*)%[.-%]%1%]',cdump},
{'^%-%-.-\n',cdump}, {'^%-%-.-\n',cdump},
{'^%[%[.-%]%]',sdump_l}, {'^%[(=*)%[.-%]%1%]',sdump_l},
{'^==',tdump}, {'^==',tdump},
{'^~=',tdump}, {'^~=',tdump},
{'^<=',tdump}, {'^<=',tdump},