pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1997-03-11
1997-03-11 22:31:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c01239d655c2c33065ed997e3a3e69578f9201fe (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Some minor changes to some error-messages.
Rev: src/language.yacc:1.31
158:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
30
1997/03/11
03
:
36
:
40
hubbe
Exp $");
+
RCSID("$Id: language.yacc,v 1.
31
1997/03/11
22
:
31
:
21
grubba
Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
362:
SAFE_APPLY_MASTER("handle_inherit", 2); if(sp[-1].type != T_PROGRAM)
-
my_yyerror("Couldn't cast
program to
string
(
%
s)
",$1->str);
+
my_yyerror("Couldn't cast string
\"
%
s\
"
to program"
,$1->str);
} | idents {
579:
} if(!$3) $3=make_shared_string(""); if(islocal($3) >= 0)
-
my_yyerror("Variable '%s'
appear
twice in argument list.",
+
my_yyerror("Variable '%s'
appears
twice in argument list.",
$3->str); add_local_name($3, pop_type());