]> git.lyx.org Git - lyx.git/blobdiff - development/tools/count_lines_of_included_code.sh
Clean-up the code with respect to PassThru insets and layouts.
[lyx.git] / development / tools / count_lines_of_included_code.sh
index 0d6d01bdc53de828607558f05e441482bf1f24cb..ac83d0def428104ebd5c3e4f436c24bfabc48637 100644 (file)
@@ -2,7 +2,7 @@
 for i in "$@" ; do
        echo "#include <$i>"  > 1.cpp
        inc='-I. -I/suse/usr/src/lyx/trunk/boost -I/usr/include/qt4/QtCore -I/usr/include/qt4'
-       l=`g++ $inc -DQT_NO_STL -E 1.cpp | wc -l`
+       l=`g++ $inc -DQT_NO_KEYWORDS -DQT_NO_STL -E 1.cpp | wc -l`
        printf "%-40s: %d\n" $i $l
 done