fixed mistake in test/makemain.sh ; still vector_pop_first to fix in src/Vector.c
[cgds.git] / test / makeMain.sh
index 19bb852..69ac68c 100644 (file)
@@ -10,7 +10,7 @@ printf '{\n' >> main.c
 #add functions
 for file in `find . -type f -name \*.c ! -name main.c`; do
        printf "\t//file $file :\n" >> main.c
-       functions=`grep '^ *void t_' $file | sed 's/^ *\(void [^(]*\).*/\t\1();/g'`
+       functions=`grep '^ *void t_' $file | sed 's/^ *void \([^(]*\).*/\t\1();/g'`
        printf "$functions" >> main.c
        printf '\n\n' >> main.c
 done