Skip to content

Commit

Permalink
new switch --ignore-regex, #862, #865, #868
Browse files Browse the repository at this point in the history
  • Loading branch information
AlDanial committed Dec 2, 2024
1 parent 6040f51 commit e35e611
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/inputs/issues/862/Fortran77.f
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
C from http://www.roesler-ac.de/wolfram/hello.htm
C Hello World in Fortran 77

PROGRAM HELLO
PRINT*, 'Hello World!'
END
10 changes: 10 additions & 0 deletions tests/inputs/issues/862/hello.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
puts("Hello World!")
;
return EXIT_SUCCESS
;
}
26 changes: 26 additions & 0 deletions tests/outputs/issues/862/results.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# github.com/AlDanial/cloc
header :
cloc_url : github.com/AlDanial/cloc
cloc_version : 2.03
elapsed_seconds : 0.0048370361328125
n_files : 2
n_lines : 16
files_per_second : 413.476340694006
lines_per_second : 3307.81072555205
report_file : results.yaml
'C' :
nFiles: 1
blank: 1
comment: 4
code: 5
'Fortran 77' :
nFiles: 1
blank: 1
comment: 3
code: 2
SUM:
blank: 2
comment: 7
code: 7
nFiles: 2

0 comments on commit e35e611

Please sign in to comment.