Skip to content

Commit

Permalink
support // comments in ReasonML, #759
Browse files Browse the repository at this point in the history
  • Loading branch information
AlDanial committed Aug 30, 2023
1 parent 40dc7e9 commit 2c0543f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Unix/cloc
Original file line number Diff line number Diff line change
Expand Up @@ -10108,7 +10108,8 @@ sub set_constants { # {{{1
'Rexx' => [ [ 'call_regexp_common' , 'C' ], ],
'ReasonML' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
[ 'remove_between_general', '/*', '*/' ],
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'ReScript' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
Expand Down
3 changes: 2 additions & 1 deletion cloc
Original file line number Diff line number Diff line change
Expand Up @@ -10123,7 +10123,8 @@ sub set_constants { # {{{1
'Rexx' => [ [ 'call_regexp_common' , 'C' ], ],
'ReasonML' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
[ 'remove_between_general', '/*', '*/' ],
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'ReScript' => [
[ 'rm_comments_in_strings', '"', '/*', '*/' ],
Expand Down

0 comments on commit 2c0543f

Please sign in to comment.