X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command_util.sh;h=a7f1b542a6532d0042af51e462ab264ee4f10e95;hp=62ad96638c16c56b1a010f662d1affb4accf0bc1;hb=12f0605c8cbea762030968a29eed47bfd4c77a96;hpb=6494f4bfddde1b9e06c4cb8bcd3acf7b9cc762f1 diff --git a/command_util.sh b/command_util.sh index 62ad9663..a7f1b542 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 @@ -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