pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1998-03-01
1998-03-01 03:42:08 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
96ab2486edc11da093b2e8554afb6d1e3f3ed999 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
prototypes without variable names fixed
Rev: src/language.yacc:1.62
162:
/* 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:
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);