pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1999-12-18
1999-12-18 02:28:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>
1191242d971c9d98db3c8cc20cfdd3b05d99061d (
9
lines) (+
6
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed double warning.
Rev: src/language.yacc:1.153
185:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
152
1999/12/18 02:
13
:
20
grubba Exp $");
+
RCSID("$Id: language.yacc,v 1.
153
1999/12/18 02:
28:
13 grubba Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
2581:
check_type_string(type); #endif /* PIKE_DEBUG */ if (pike_types_le(type, void_type_string)) {
+
if (compiler_pass != 1) {
yywarning("Declaring local variable with type void " "(converted to type zero).");
-
+
}
free_string(type); copy_shared_string(type, zero_type_string); }