]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command_util.sh
nuke the AN (array name) header field
[paraslash.git] / command_util.sh
index 25fc0884f009afa15ebded0bbf813475afea1d1a..1b4376577eb2c542384cba91d4aee95355d89bb0 100755 (executable)
@@ -37,13 +37,11 @@ read_header()
                        ;;
                FN:)
                        file_name="$value"
+                       array_name=${value%command_list}cmds
                        ;;
                AT:)
                        array_type="$value"
                        ;;
-               AN:)
-                       array_name="$value"
-                       ;;
                IN:)
                        for i in $value; do
                                includes="$includes
@@ -242,10 +240,10 @@ read_header
 arg="$1"
 shift
 case "$arg" in
-       "c_file")
+       "c")
                com_c_file
                ;;
-       "header")
+       "h")
                com_header
                ;;
        "man")