projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp status item handling.
[paraslash.git]
/
command_util.sh
diff --git
a/command_util.sh
b/command_util.sh
index 3c2d789f3e0b54983634155f2422baf0030f4a9f..a7f1b542a6532d0042af51e462ab264ee4f10e95 100755
(executable)
--- a/
command_util.sh
+++ b/
command_util.sh
@@
-26,6
+26,12
@@
read_header()
AT:)
array_type="$value"
;;
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
IN:)
for i in $value; do
includes="$includes
@@
-148,7
+154,7
@@
dump_man()
local t_name_txt=$(echo $name_txt | $sed_cmd)
echo ".SS \"$t_name_txt\""
done
local t_name_txt=$(echo $name_txt | $sed_cmd)
echo ".SS \"$t_name_txt\""
done
- echo "$desc_txt"
+ echo "$desc_txt"
| sed -e "s/@member@/{$(echo $template_members | sed -e 's/ / | /g')}/g"
echo
echo "\\fBUsage: \\fP"
echo
echo
echo "\\fBUsage: \\fP"
echo
@@
-273,6
+279,7
@@
template_loop()
com_c_file()
{
echo "/** \file $output_file.c $c_file_comment */"
com_c_file()
{
echo "/** \file $output_file.c $c_file_comment */"
+ echo "$system_includes"
echo "$includes"
echo "struct $array_type $array_name[] = {"
while : ; do
echo "$includes"
echo "struct $array_type $array_name[] = {"
while : ; do