]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command_util.sh
command_util: Kill HC and CC header lines.
[paraslash.git] / command_util.sh
index 76b3445fc1557b607ef72ae9408dec38f8a54507..a66b56bbdb51940a5aabb50f3e98daeae5d561cd 100755 (executable)
@@ -10,12 +10,6 @@ read_header()
                ---)
                        break
                        ;;
-               HC:)
-                       header_comment="$value"
-                       ;;
-               CC:)
-                       c_file_comment="$value"
-                       ;;
                OF:)
                        output_file="$value"
                        array_name=${value%command_list}cmds
@@ -47,8 +41,7 @@ read_header()
                        template_members="$value"
                esac
        done
-       if test -z "$header_comment" -o -z "$c_file_comment" \
-                       -o -z "$output_file"; then
+       if test -z "$output_file"; then
                echo "header error" 1&>2
                exit 1
        fi
@@ -267,7 +260,6 @@ template_loop()
 
 com_c_file()
 {
-       echo "/** \file $output_file.c $c_file_comment */"
        echo "$system_includes"
        echo "$includes"
        echo "struct $array_type $array_name[] = {"
@@ -290,8 +282,6 @@ com_c_file()
 
 com_header()
 {
-       echo "/** \file $output_file.h $header_comment */"
-       echo
        echo "extern struct $array_type $array_name[];"
        while : ; do
                read_one_command