mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Remove matlab file with bogus keywords
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
--- !ruby/object:Linguist::Classifier
|
--- !ruby/object:Linguist::Classifier
|
||||||
languages_total: 216
|
languages_total: 215
|
||||||
tokens_total: 152500
|
tokens_total: 152347
|
||||||
languages:
|
languages:
|
||||||
Apex: 6
|
Apex: 6
|
||||||
AppleScript: 2
|
AppleScript: 2
|
||||||
@@ -27,7 +27,7 @@ languages:
|
|||||||
Kotlin: 1
|
Kotlin: 1
|
||||||
Logtalk: 1
|
Logtalk: 1
|
||||||
Markdown: 1
|
Markdown: 1
|
||||||
Matlab: 5
|
Matlab: 4
|
||||||
Nemerle: 1
|
Nemerle: 1
|
||||||
Nimrod: 1
|
Nimrod: 1
|
||||||
Nu: 1
|
Nu: 1
|
||||||
@@ -93,7 +93,7 @@ language_tokens:
|
|||||||
Kotlin: 149
|
Kotlin: 149
|
||||||
Logtalk: 40
|
Logtalk: 40
|
||||||
Markdown: 1
|
Markdown: 1
|
||||||
Matlab: 377
|
Matlab: 224
|
||||||
Nemerle: 17
|
Nemerle: 17
|
||||||
Nimrod: 2
|
Nimrod: 2
|
||||||
Nu: 6
|
Nu: 6
|
||||||
@@ -9131,61 +9131,41 @@ tokens:
|
|||||||
Markdown:
|
Markdown:
|
||||||
Tender: 1
|
Tender: 1
|
||||||
Matlab:
|
Matlab:
|
||||||
(: 35
|
(: 24
|
||||||
): 35
|
): 24
|
||||||
"*A": 1
|
+: 1
|
||||||
"*B": 1
|
|
||||||
+: 4
|
|
||||||
"-": 8
|
|
||||||
...: 2
|
...: 2
|
||||||
;: 25
|
;: 14
|
||||||
"@implementation": 1
|
A: 2
|
||||||
"@interface": 1
|
B: 3
|
||||||
"@keyword": 4
|
|
||||||
"@property": 1
|
|
||||||
"@synthesize": 1
|
|
||||||
A: 12
|
|
||||||
B: 13
|
|
||||||
C: 4
|
|
||||||
Calculate: 2
|
Calculate: 2
|
||||||
Call: 2
|
Call: 2
|
||||||
Comments: 1
|
Comments: 1
|
||||||
Display: 2
|
Display: 1
|
||||||
G: 1
|
G: 1
|
||||||
Matlab: 2
|
Matlab: 2
|
||||||
Objective: 4
|
|
||||||
R: 1
|
R: 1
|
||||||
Simple: 2
|
Simple: 1
|
||||||
adding: 1
|
adding: 1
|
||||||
and: 4
|
and: 3
|
||||||
arbitrary: 1
|
arbitrary: 1
|
||||||
at: 2
|
at: 2
|
||||||
b: 2
|
b: 2
|
||||||
black: 1
|
black: 1
|
||||||
blue: 1
|
blue: 1
|
||||||
classdef: 1
|
classdef: 1
|
||||||
combines: 1
|
|
||||||
command: 2
|
command: 2
|
||||||
create: 1
|
|
||||||
cyan: 1
|
cyan: 1
|
||||||
directory: 2
|
directory: 2
|
||||||
disp: 10
|
disp: 8
|
||||||
displaying: 1
|
displaying: 1
|
||||||
displays: 1
|
|
||||||
end: 8
|
end: 8
|
||||||
enumeration: 1
|
enumeration: 1
|
||||||
example: 2
|
example: 2
|
||||||
fun1: 2
|
function: 6
|
||||||
fun2: 2
|
|
||||||
fun3: 2
|
|
||||||
fun4: 2
|
|
||||||
function: 19
|
|
||||||
g: 2
|
g: 2
|
||||||
green: 1
|
green: 1
|
||||||
handles: 3
|
|
||||||
implementation: 1
|
|
||||||
in: 2
|
in: 2
|
||||||
interface: 1
|
|
||||||
is: 2
|
is: 2
|
||||||
line: 2
|
line: 2
|
||||||
line.: 2
|
line.: 2
|
||||||
@@ -9193,9 +9173,7 @@ tokens:
|
|||||||
mandatory: 2
|
mandatory: 2
|
||||||
matlab_class: 2
|
matlab_class: 2
|
||||||
matlab_function: 5
|
matlab_function: 5
|
||||||
matlab_function2: 1
|
|
||||||
methods: 1
|
methods: 1
|
||||||
name: 4
|
|
||||||
not: 2
|
not: 2
|
||||||
num2str: 3
|
num2str: 3
|
||||||
obj: 2
|
obj: 2
|
||||||
@@ -9208,37 +9186,30 @@ tokens:
|
|||||||
output: 2
|
output: 2
|
||||||
precended: 1
|
precended: 1
|
||||||
properties: 1
|
properties: 1
|
||||||
property: 1
|
|
||||||
r: 2
|
r: 2
|
||||||
red: 1
|
red: 1
|
||||||
resides: 2
|
resides: 2
|
||||||
result: 4
|
result: 4
|
||||||
ret: 6
|
ret: 3
|
||||||
return: 4
|
return: 2
|
||||||
same: 6
|
same: 2
|
||||||
script: 2
|
script: 2
|
||||||
semicolon: 2
|
semicolon: 2
|
||||||
simple: 4
|
|
||||||
spaces: 1
|
spaces: 1
|
||||||
sub: 4
|
|
||||||
sum: 2
|
sum: 2
|
||||||
suppresses: 2
|
suppresses: 2
|
||||||
synthesize: 1
|
|
||||||
tabs: 1
|
tabs: 1
|
||||||
that: 1
|
the: 4
|
||||||
the: 6
|
|
||||||
to: 2
|
to: 2
|
||||||
two: 2
|
two: 1
|
||||||
use: 1
|
value: 2
|
||||||
using: 1
|
|
||||||
value: 4
|
|
||||||
value1: 6
|
value1: 6
|
||||||
value2: 6
|
value2: 6
|
||||||
values: 2
|
values: 1
|
||||||
which: 2
|
which: 2
|
||||||
white: 1
|
white: 1
|
||||||
whitespace: 1
|
whitespace: 1
|
||||||
with: 5
|
with: 1
|
||||||
yellow: 1
|
yellow: 1
|
||||||
Nemerle:
|
Nemerle:
|
||||||
(: 2
|
(: 2
|
||||||
|
|||||||
33
test/fixtures/matlab/matlab_function2.m
vendored
33
test/fixtures/matlab/matlab_function2.m
vendored
@@ -1,33 +0,0 @@
|
|||||||
function ret = matlab_function2(A,B)
|
|
||||||
% Simple function that combines two values using function handles and displays
|
|
||||||
% the return value
|
|
||||||
|
|
||||||
% create function handles
|
|
||||||
fun1=@interface;
|
|
||||||
fun2=@implementation;
|
|
||||||
fun3=@property;
|
|
||||||
fun4=@synthesize;
|
|
||||||
|
|
||||||
% use function handles
|
|
||||||
ret = fun1(A)+fun2(A)+fun3(B)+fun4(B);
|
|
||||||
|
|
||||||
% Display the return value
|
|
||||||
disp('Return value in function');
|
|
||||||
disp(ret);
|
|
||||||
|
|
||||||
|
|
||||||
function A=interface(A)
|
|
||||||
% simple sub-function with same name Objective-C @keyword
|
|
||||||
A=2*A;
|
|
||||||
|
|
||||||
function A=implementation(A)
|
|
||||||
% simple sub-function with same name Objective-C @keyword
|
|
||||||
A=A^2;
|
|
||||||
|
|
||||||
function B=property(B)
|
|
||||||
% simple sub-function with same name Objective-C @keyword
|
|
||||||
B=2*B;
|
|
||||||
|
|
||||||
function B=synthesize(B)
|
|
||||||
% simple sub-function with same name Objective-C @keyword
|
|
||||||
B=B^2;
|
|
||||||
Reference in New Issue
Block a user