Add cloc language definition file
This commit is contained in:
parent
4aa0042ee1
commit
551b5d8f2e
4
Makefile
4
Makefile
@ -226,3 +226,7 @@ deb: kuroko libkuroko.so
|
||||
docs: kuroko
|
||||
./kuroko tools/gendoc.krk
|
||||
doxygen docs/Doxyfile
|
||||
|
||||
.PHONY: cloc
|
||||
cloc:
|
||||
cloc --read-lang-def docs/cloc.txt --vcs git
|
||||
|
9
docs/cloc.txt
Normal file
9
docs/cloc.txt
Normal file
@ -0,0 +1,9 @@
|
||||
Kuroko
|
||||
filter remove_matches ^\s*#
|
||||
filter docstring_to_C
|
||||
filter call_regexp_common C
|
||||
filter remove_inline #.*$
|
||||
extension krk
|
||||
script_exe kuroko
|
||||
3rd_gen_scale 4.20
|
||||
end_of_line_continuation \\$
|
Loading…
Reference in New Issue
Block a user