pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1998-01-27
1998-01-27 20:02:15 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2416d84a4fe52a9ff2dea3972ee0721c5bfabea9 (
15
lines) (+
5
/-
10
)
[
Show
|
Annotate
]
Branch:
7.9
core-dumping bug fixed
Rev: src/language.yacc:1.56
Rev: src/program.c:1.57
161:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
55
1998/01/
26
19
:
59
:
54
hubbe Exp $");
+
RCSID("$Id: language.yacc,v 1.
56
1998/01/
27
20
:
02
:
14
hubbe Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
1474:
if ( get_master() ) {
-
sp->type = T
_
STRING;
-
copy
_
shared_
string(
sp->u.string,
lex.current_file);
-
sp++;
-
sp->type = T
_
INT;
-
sp->u.integer =
lex.current_line;
-
sp++;
-
sp->type = T
_
STRING;
-
sp->u.string = make_shared_string
(str);
-
sp++;
+
ref
_
push
_string(lex.current_file);
+
push
_
int(
lex.current_line
)
;
+
push
_
text
(str);
SAFE_APPLY_MASTER("compile_error",3); pop_stack(); }else{