handle [=[...]=] comments and strings
This commit is contained in:
parent
a41792c56c
commit
da13ae5942
|
@ -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},
|
||||||
|
|
Loading…
Reference in New Issue