pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
2005-04-08
2005-04-08 17:01:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>
00a782b43ba60dac5784e9858b18d5405dbeb29a (
8
lines) (+
5
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Improved diagnostics.
Rev: src/program.c:1.587
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.
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"
4441:
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; } }
4452:
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) {