pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
2003-06-06
2003-06-06 14:35:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>
fa6afca3ca42a3490f4b1faa23f6936ba95ec42d (
10
lines) (+
6
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Using //-style comments in C-code is also a bad idea...
Rev: src/program.c:1.507
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: program.c,v 1.
506
2003/06/06 14:
31
:
11
grubba Exp $
+
|| $Id: program.c,v 1.
507
2003/06/06 14:
35
:
48
grubba Exp $
*/ #include "global.h"
-
RCSID("$Id: program.c,v 1.
506
2003/06/06 14:
31
:
11
grubba Exp $");
+
RCSID("$Id: program.c,v 1.
507
2003/06/06 14:
35
:
48
grubba Exp $");
#include "program.h" #include "object.h" #include "dynamic_buffer.h"
1594:
if (!new_is_variable && IDENTIFIER_IS_VARIABLE(ID_FROM_INT(Pike_compiler->new_program, cur_id)->identifier_flags)) {
-
/
/
Overloading a variable with a constant or a function.
-
//
This is generally a bad idea.
+
/
*
Overloading a variable with a constant or a function.
+
*
This is generally a bad idea.
+
*/
Pike_compiler->new_program->identifier_references[cur_id].id_flags |= ID_INLINE|ID_HIDDEN; yywarning("Attempt to override a non local variable %s%s%swith a non variable.",