pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:1:
/* || 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.
586
2005/
02
/
09
16
:
35
:
50
mast
Exp $
+
|| $Id: program.c,v 1.
587
2005/
04
/
08
17
:
01
:
02
grubba
Exp $
*/ #include "global.h" #include "program.h" #include "object.h" #include "dynamic_buffer.h" #include "pike_types.h" #include "stralloc.h" #include "las.h" #include "lex.h"
pike.git/src/program.c:4434:
* Make a prototype for now. */ return define_function(name, id->type, flags, id->identifier_flags | IDENTIFIER_ALIAS, NULL, id->opt_flags); } } else if (IDENTIFIER_IS_VARIABLE(id->identifier_flags)) {
-
yyerror("Attempt to make a constant of a variable.");
+
my_
yyerror("Attempt to make a constant
%S
of a variable."
,
+
name
);
c = NULL; } } } if( #if 1 c && #endif !svalues_are_constant(c,1,BIT_MIXED,0))
-
yyerror("Constant
values
may
not
have
references
to this.");
+
my_
yyerror("Constant
value
%S
has
a
reference
to this."
, name
);
if(Pike_compiler->new_program->flags & PROGRAM_PASS_1_DONE) { if(n==-1 #if 1 || !c #endif ) { yyerror("Pass2: Constant disappeared!");