summaryrefslogtreecommitdiff
path: root/lib/sbin/create_c_stuff.pl
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-16 15:09:09 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-16 15:09:09 +0000
commit9a1dad4851f603b038b893559fe7ec6f58a912d1 (patch)
treea5dd41cfa796ad7bfce3ce1057d9d0496d27cf0f /lib/sbin/create_c_stuff.pl
parente86f82a6f4397fd82dd8ec052abe7fd25897a490 (diff)
Errors with CST_error instead of die
git-svn-id: http://svn.cactuscode.org/flesh/trunk@717 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/create_c_stuff.pl')
-rw-r--r--lib/sbin/create_c_stuff.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sbin/create_c_stuff.pl b/lib/sbin/create_c_stuff.pl
index 3debb2da..247c5150 100644
--- a/lib/sbin/create_c_stuff.pl
+++ b/lib/sbin/create_c_stuff.pl
@@ -369,7 +369,8 @@ sub get_c_type_string
}
else
{
- die("Unknown parameter type '$type'");
+ $message = "Unknown parameter type '$type'";
+ &CST_error(0,$message,__LINE__,__FILE__);
}
return $type_string;
@@ -497,7 +498,8 @@ sub order_params
}
else
{
- die("Unknown parameter type '$type'");
+ $message = "Unknown parameter type '$type'";
+ &CST_error(0,$message,__LINE__,__FILE__);
}
}