chore: bump scintilla and lexilla version
This commit is contained in:
21
3rdparty/lexilla545/lexilla/test/examples/matlab/Issue18_EscapeSequence.m.matlab
vendored
Normal file
21
3rdparty/lexilla545/lexilla/test/examples/matlab/Issue18_EscapeSequence.m.matlab
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
a="""";
|
||||
b=1;
|
||||
c='\';
|
||||
d=2;
|
||||
e="\";
|
||||
f=3;
|
||||
%" this should be a comment (colored as such), instead it closes the string
|
||||
g="
|
||||
h=123;
|
||||
%" this is a syntax error in Matlab (about 'g'),
|
||||
% followed by a valid assignment (of 'h')
|
||||
% Instead, 'h' is colored as part of the string
|
||||
|
||||
% Octave terminates string at 3rd ", Matlab at 4th
|
||||
i="\" "; % " %
|
||||
|
||||
% Matlab (unlike Octave) does not allow string continuation with an escape
|
||||
b = "multi\
|
||||
line"
|
||||
|
||||
% end
|
||||
Reference in New Issue
Block a user