Skip to content

Commit 6b83788

Browse files
committed
Make missing changes in cloc and replicate in Unix version
1 parent 95db4ec commit 6b83788

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

Unix/cloc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9616,17 +9616,18 @@ sub set_constants { # {{{1
96169616
'BAS' => 'Visual Basic' ,
96179617
'ctl' => 'Visual Basic' ,
96189618
'dsr' => 'Visual Basic' ,
9619+
'Dsr' => 'Visual Basic' ,
96199620
'frm' => 'Visual Basic' ,
96209621
'frx' => 'Visual Basic' ,
96219622
'FRX' => 'Visual Basic' ,
9622-
'vba' => 'VB for Applications' ,
9623-
'VBA' => 'VB for Applications' ,
9624-
'vbhtml' => 'Visual Basic' ,
9625-
'VBHTML' => 'Visual Basic' ,
9623+
'vba' => 'VBA' ,
9624+
'VBA' => 'VBA' ,
9625+
'vbhtml' => 'Visual Basic .NET' ,
9626+
'VBHTML' => 'Visual Basic .NET' ,
96269627
'vbproj' => 'Visual Basic .NET' ,
96279628
'vbp' => 'Visual Basic' , # .vbp - autogenerated
9628-
'vbs' => 'Visual Basic Script' ,
9629-
'VBS' => 'Visual Basic Script' ,
9629+
'vbs' => 'VBScript' ,
9630+
'VBS' => 'VBScript' ,
96309631
'vb' => 'Visual Basic .NET' ,
96319632
'VB' => 'Visual Basic .NET' ,
96329633
'vbw' => 'Visual Basic' , # .vbw - autogenerated
@@ -11484,7 +11485,7 @@ sub set_constants { # {{{1
1148411485
[ 'remove_matches' , '^\s*"' ],
1148511486
[ 'remove_inline' , '".*$' ],
1148611487
],
11487-
'Visual Basic Script' => [
11488+
'VBScript' => [
1148811489
[ 'remove_above' , '^\s*Attribute\s+VB_Name\s+=' ],
1148911490
[ 'remove_matches' , '^\s*Attribute\s+'],
1149011491
[ 'remove_matches' , '^\s*\47'], # \47 = '
@@ -11494,7 +11495,7 @@ sub set_constants { # {{{1
1149411495
[ 'remove_matches' , '^\s*Attribute\s+'],
1149511496
[ 'remove_matches' , '^\s*\47'], # \47 = '
1149611497
],
11497-
'VB for Applications' => [
11498+
'VBA' => [
1149811499
[ 'remove_above' , '^\s*Attribute\s+VB_Name\s+=' ],
1149911500
[ 'remove_matches' , '^\s*Attribute\s+'],
1150011501
[ 'remove_matches' , '^\s*\47'], # \47 = '
@@ -12225,9 +12226,9 @@ sub set_constants { # {{{1
1222512226
'VHDL' => 4.21,
1222612227
'vim script' => 3.00,
1222712228
'Visual Basic' => 2.76,
12228-
'VB for Applications' => 2.76,
12229+
'VBA' => 2.76,
1222912230
'Visual Basic .NET' => 2.76,
12230-
'Visual Basic Script' => 2.76,
12231+
'VBScript' => 2.76,
1223112232
'Visual Fox Pro' => 4.00, # Visual Fox Pro is not available in the language gearing ratios listed at Mayes Consulting web site
1223212233
'Visualforce Component' => 1.9 ,
1223312234
'Visualforce Page' => 1.9 ,

cloc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11477,7 +11477,7 @@ sub set_constants { # {{{1
1147711477
[ 'remove_matches' , '^\s*"' ],
1147811478
[ 'remove_inline' , '".*$' ],
1147911479
],
11480-
'Visual Basic Script' => [
11480+
'VBScript' => [
1148111481
[ 'remove_above' , '^\s*Attribute\s+VB_Name\s+=' ],
1148211482
[ 'remove_matches' , '^\s*Attribute\s+'],
1148311483
[ 'remove_matches' , '^\s*\47'], # \47 = '
@@ -11487,7 +11487,7 @@ sub set_constants { # {{{1
1148711487
[ 'remove_matches' , '^\s*Attribute\s+'],
1148811488
[ 'remove_matches' , '^\s*\47'], # \47 = '
1148911489
],
11490-
'VB for Applications' => [
11490+
'VBA' => [
1149111491
[ 'remove_above' , '^\s*Attribute\s+VB_Name\s+=' ],
1149211492
[ 'remove_matches' , '^\s*Attribute\s+'],
1149311493
[ 'remove_matches' , '^\s*\47'], # \47 = '
@@ -12218,9 +12218,9 @@ sub set_constants { # {{{1
1221812218
'VHDL' => 4.21,
1221912219
'vim script' => 3.00,
1222012220
'Visual Basic' => 2.76,
12221-
'VB for Applications' => 2.76,
12221+
'VBA' => 2.76,
1222212222
'Visual Basic .NET' => 2.76,
12223-
'Visual Basic Script' => 2.76,
12223+
'VBScript' => 2.76,
1222412224
'Visual Fox Pro' => 4.00, # Visual Fox Pro is not available in the language gearing ratios listed at Mayes Consulting web site
1222512225
'Visualforce Component' => 1.9 ,
1222612226
'Visualforce Page' => 1.9 ,

0 commit comments

Comments
 (0)