X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command_util.sh;h=ba5e99e2fcabb719ff0219f1ea65b2b4ded841a9;hp=25fc0884f009afa15ebded0bbf813475afea1d1a;hb=4346bb908d494a60f4fa52875ae10228125d82f2;hpb=c4f619ddfcf68bfc5e7d24e849b5e1ce3cc40161 diff --git a/command_util.sh b/command_util.sh index 25fc0884..ba5e99e2 100755 --- a/command_util.sh +++ b/command_util.sh @@ -8,6 +8,7 @@ dump_array_member() if test $line_handler -eq 0; then echo ".handler = com_$name_txt," else + echo ".handler = NULL," echo ".line_handler = com_$name_txt," fi if test -n "$perms_txt"; then @@ -37,13 +38,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 +241,10 @@ read_header arg="$1" shift case "$arg" in - "c_file") + "c") com_c_file ;; - "header") + "h") com_header ;; "man")