Add cloc language definition file

This commit is contained in:
K Lange 2021-03-26 22:45:51 +09:00
parent 4aa0042ee1
commit 551b5d8f2e
2 changed files with 13 additions and 0 deletions

View File

@ -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
View 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 \\$