Skip to content

Commit

Permalink
cdahlheimer - Add FunC language
Browse files Browse the repository at this point in the history
  • Loading branch information
cdahlheimer committed Nov 26, 2024
1 parent 13b0b99 commit d51de46
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Unix/cloc
Original file line number Diff line number Diff line change
Expand Up @@ -9125,6 +9125,8 @@ sub set_constants { # {{{1
'rhtml' => 'Ruby HTML' ,
'circom' => 'Circom' ,
'cairo' => 'Cairo' ,
'fc' => 'FunC' ,
'func' => 'FunC' ,
'rs.in' => 'Rust' ,
'rs' => 'Rust' ,
'rst.txt' => 'reStructuredText' ,
Expand Down Expand Up @@ -10747,6 +10749,11 @@ sub set_constants { # {{{1
],
'Ruby HTML' => [ [ 'remove_html_comments', ],
[ 'call_regexp_common' , 'HTML' ], ],
'FunC' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'Circom' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
[ 'rm_comments_in_strings', '"', '//', '' ],
Expand Down Expand Up @@ -11716,6 +11723,7 @@ sub set_constants { # {{{1
'Rexx' => 1.19,
'Ring' => 4.20,
'RobotFramework' => 2.50,
'FunC' => 1.00,
'Circom' => 1.00,
'Cairo' => 1.00,
'Rust' => 1.00,
Expand Down
8 changes: 8 additions & 0 deletions cloc
Original file line number Diff line number Diff line change
Expand Up @@ -9114,6 +9114,8 @@ sub set_constants { # {{{1
'rexx' => 'Rexx' ,
'rhtml' => 'Ruby HTML' ,
'circom' => 'Circom' ,
'fc' => 'FunC' ,
'func' => 'FunC' ,
'cairo' => 'Cairo' ,
'rs.in' => 'Rust' ,
'rs' => 'Rust' ,
Expand Down Expand Up @@ -10742,6 +10744,11 @@ sub set_constants { # {{{1
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'FunC' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'Cairo' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
[ 'rm_comments_in_strings', '"', '//', '' ],
Expand Down Expand Up @@ -11707,6 +11714,7 @@ sub set_constants { # {{{1
'Ring' => 4.20,
'RobotFramework' => 2.50,
'Circom' => 1.00,
'FunC' => 1.00,
'Cairo' => 1.00,
'Rust' => 1.00,
'sas' => 1.95,
Expand Down

0 comments on commit d51de46

Please sign in to comment.