Skip to content
Snippets Groups Projects
Commit 8d61bb4e authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

my_werror removed

Rev: lib/master.pike:1.67
parent d5eaa5dc
No related branches found
No related tags found
No related merge requests found
/* $Id: master.pike,v 1.66 1998/03/22 01:44:37 per Exp $ /* $Id: master.pike,v 1.67 1998/03/22 05:21:34 hubbe Exp $
* *
* Master-file for Pike. * Master-file for Pike.
*/ */
...@@ -294,17 +294,8 @@ object new(mixed prog, mixed ... args) ...@@ -294,17 +294,8 @@ object new(mixed prog, mixed ... args)
/* Note that create is called before add_precompiled_program /* Note that create is called before add_precompiled_program
*/ */
void my_werror(mixed ... args)
{
if(sizeof(args) == 1)
werror(@args);
else
werror(sprintf(@args));
}
void create() void create()
{ {
add_constant("werror", my_werror);
add_constant("basename",basename); add_constant("basename",basename);
add_constant("dirname",dirname); add_constant("dirname",dirname);
add_constant("is_absolute_path",is_absolute_path); add_constant("is_absolute_path",is_absolute_path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment