diff --git a/src/language.yacc b/src/language.yacc
index 88b469763de56bdd029bbccf11b34e47d1b5ea00..8c3c54b053964dcc37fa98d9d045eafa4fd517a2 100644
--- a/src/language.yacc
+++ b/src/language.yacc
@@ -162,7 +162,7 @@
 /* This is the grammar definition of Pike. */
 
 #include "global.h"
-RCSID("$Id: language.yacc,v 1.61 1998/02/27 08:39:19 hubbe Exp $");
+RCSID("$Id: language.yacc,v 1.62 1998/03/01 03:42:08 hubbe Exp $");
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
 #endif
@@ -609,7 +609,8 @@ new_arg_name: type optional_dot_dot_dot optional_identifier
       free_string(s);
     }
 
-    if(islocal($3->u.sval.u.string) >= 0)
+    if($3->u.sval.u.string->len &&
+	islocal($3->u.sval.u.string) >= 0)
       my_yyerror("Variable '%s' appears twice in argument list.",
 		 $3->u.sval.u.string->str);