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
|
||||
languages_total: 216
|
||||
tokens_total: 152500
|
||||
languages_total: 215
|
||||
tokens_total: 152347
|
||||
languages:
|
||||
Apex: 6
|
||||
AppleScript: 2
|
||||
@@ -27,7 +27,7 @@ languages:
|
||||
Kotlin: 1
|
||||
Logtalk: 1
|
||||
Markdown: 1
|
||||
Matlab: 5
|
||||
Matlab: 4
|
||||
Nemerle: 1
|
||||
Nimrod: 1
|
||||
Nu: 1
|
||||
@@ -93,7 +93,7 @@ language_tokens:
|
||||
Kotlin: 149
|
||||
Logtalk: 40
|
||||
Markdown: 1
|
||||
Matlab: 377
|
||||
Matlab: 224
|
||||
Nemerle: 17
|
||||
Nimrod: 2
|
||||
Nu: 6
|
||||
@@ -9131,61 +9131,41 @@ tokens:
|
||||
Markdown:
|
||||
Tender: 1
|
||||
Matlab:
|
||||
(: 35
|
||||
): 35
|
||||
"*A": 1
|
||||
"*B": 1
|
||||
+: 4
|
||||
"-": 8
|
||||
(: 24
|
||||
): 24
|
||||
+: 1
|
||||
...: 2
|
||||
;: 25
|
||||
"@implementation": 1
|
||||
"@interface": 1
|
||||
"@keyword": 4
|
||||
"@property": 1
|
||||
"@synthesize": 1
|
||||
A: 12
|
||||
B: 13
|
||||
C: 4
|
||||
;: 14
|
||||
A: 2
|
||||
B: 3
|
||||
Calculate: 2
|
||||
Call: 2
|
||||
Comments: 1
|
||||
Display: 2
|
||||
Display: 1
|
||||
G: 1
|
||||
Matlab: 2
|
||||
Objective: 4
|
||||
R: 1
|
||||
Simple: 2
|
||||
Simple: 1
|
||||
adding: 1
|
||||
and: 4
|
||||
and: 3
|
||||
arbitrary: 1
|
||||
at: 2
|
||||
b: 2
|
||||
black: 1
|
||||
blue: 1
|
||||
classdef: 1
|
||||
combines: 1
|
||||
command: 2
|
||||
create: 1
|
||||
cyan: 1
|
||||
directory: 2
|
||||
disp: 10
|
||||
disp: 8
|
||||
displaying: 1
|
||||
displays: 1
|
||||
end: 8
|
||||
enumeration: 1
|
||||
example: 2
|
||||
fun1: 2
|
||||
fun2: 2
|
||||
fun3: 2
|
||||
fun4: 2
|
||||
function: 19
|
||||
function: 6
|
||||
g: 2
|
||||
green: 1
|
||||
handles: 3
|
||||
implementation: 1
|
||||
in: 2
|
||||
interface: 1
|
||||
is: 2
|
||||
line: 2
|
||||
line.: 2
|
||||
@@ -9193,9 +9173,7 @@ tokens:
|
||||
mandatory: 2
|
||||
matlab_class: 2
|
||||
matlab_function: 5
|
||||
matlab_function2: 1
|
||||
methods: 1
|
||||
name: 4
|
||||
not: 2
|
||||
num2str: 3
|
||||
obj: 2
|
||||
@@ -9208,37 +9186,30 @@ tokens:
|
||||
output: 2
|
||||
precended: 1
|
||||
properties: 1
|
||||
property: 1
|
||||
r: 2
|
||||
red: 1
|
||||
resides: 2
|
||||
result: 4
|
||||
ret: 6
|
||||
return: 4
|
||||
same: 6
|
||||
ret: 3
|
||||
return: 2
|
||||
same: 2
|
||||
script: 2
|
||||
semicolon: 2
|
||||
simple: 4
|
||||
spaces: 1
|
||||
sub: 4
|
||||
sum: 2
|
||||
suppresses: 2
|
||||
synthesize: 1
|
||||
tabs: 1
|
||||
that: 1
|
||||
the: 6
|
||||
the: 4
|
||||
to: 2
|
||||
two: 2
|
||||
use: 1
|
||||
using: 1
|
||||
value: 4
|
||||
two: 1
|
||||
value: 2
|
||||
value1: 6
|
||||
value2: 6
|
||||
values: 2
|
||||
values: 1
|
||||
which: 2
|
||||
white: 1
|
||||
whitespace: 1
|
||||
with: 5
|
||||
with: 1
|
||||
yellow: 1
|
||||
Nemerle:
|
||||
(: 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