X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command_util.sh;h=44b4ee1856e5eee158b7d108a171abf5077712a7;hp=62ad96638c16c56b1a010f662d1affb4accf0bc1;hb=a9126f461792a84c760162ecb25100f1593d427d;hpb=0f1f782c51773b4db2597e07f4cba4cadf5eddf1 diff --git a/command_util.sh b/command_util.sh index 62ad9663..44b4ee18 100755 --- a/command_util.sh +++ b/command_util.sh @@ -26,6 +26,12 @@ read_header() AT:) array_type="$value" ;; + SI:) + for i in $value; do + system_includes="$system_includes +#include <$i.h>" + done + ;; IN:) for i in $value; do includes="$includes @@ -198,7 +204,7 @@ dump_proto() echo '/**' echo " * $desc_txt" echo ' *' - echo ' * \param fd The file descriptor to send output to.' + echo ' * \param rc4c The rc4 crypt context.' if test $line_handler -eq 0; then echo ' * \param argc The number of arguments.' echo ' * \param argv The argument vector.' @@ -273,6 +279,7 @@ template_loop() com_c_file() { echo "/** \file $output_file.c $c_file_comment */" + echo "$system_includes" echo "$includes" echo "struct $array_type $array_name[] = {" while : ; do