pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
2002-03-21
2002-03-21 17:39:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
af4e11f07cdb2bdd29d7e97529f265d7d601b71b (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Improved error message.
Rev: src/language.yacc:1.273
112:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
272
2002/03/
02
18
:
47:
39
mast
Exp $");
+
RCSID("$Id: language.yacc,v 1.
273
2002/03/
21
17
:
39
:
52
grubba
Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
1263:
default: if (Pike_compiler->compiler_pass!=1)
-
yyerror("Illegal program identifier.");
+
my_
yyerror("Illegal program identifier
(type:%s)
."
,
+
get_name_of_type(Pike_sp[-1].type
)
)
;
pop_stack(); push_int(0); push_object_type(0, 0);