Commit 7a1cb6982a5dcf069adde79e6707b8b893831939

Authored by Georg Hopp
1 parent 0b485ec7

loc action

Showing 1 changed file with 8 additions and 1 deletions
@@ -16,5 +16,12 @@ coverage-html: @@ -16,5 +16,12 @@ coverage-html:
16 -$(MAKE) -C tests $(AM_MAKEFLAGS) -k $@ 16 -$(MAKE) -C tests $(AM_MAKEFLAGS) -k $@
17 endif 17 endif
18 18
  19 +REGEX_CCLASS=/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/
19 tags: 20 tags:
20 - ctags -R -V --langdef=cclass --langmap=cclass:.h --regex-cclass='/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/' 21 + @ctags -R -V --langdef=cclass --langmap=cclass:.h \
  22 + --regex-cclass='$(REGEX_CCLASS)'
  23 +
  24 +loc:
  25 + @find src/ include/ -not -path testers -and -name "*.[ch]" \
  26 + -exec sed '/\/\*/,/\*\//d;/\/\//d' {} \; | wc -l
  27 +
Please register or login to post a comment