Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata
10
lexers/testdata/matlab.actual
vendored
Normal file
10
lexers/testdata/matlab.actual
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
% a sum function
|
||||
function p = vector_sum(x)
|
||||
p = 0;
|
||||
for k1 = 1:length(x)
|
||||
p = p + x(k1);
|
||||
end
|
||||
end
|
||||
|
||||
z = 1:10;
|
||||
sum_from_1_to_10 = vector_sum(z)
|
Loading…
Add table
Add a link
Reference in a new issue