pike.git/
src/
interpret_functions.h
Branch:
Tag:
Non-build tags
All tags
No tags
2001-02-20
2001-02-20 00:01:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5320155f6cb982b6b1f1dd60c89f5f926d2f1acb (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Minor bugfix in F_SOFT_CAST.
Rev: src/interpret_functions.h:1.46
1:
/*
-
* $Id: interpret_functions.h,v 1.
45
2001/02/
19
23
:
49
:
59
grubba Exp $
+
* $Id: interpret_functions.h,v 1.
46
2001/02/
20
00
:
01
:
00
grubba Exp $
* * Opcode definitions for the interpreter. */
1408:
* check for them. */ if (!pike_types_le(sval_type, weak_type_string) ||
-
!match_types(sval_type, Pike_sp[-2].u.
string
)) {
+
!match_types(sval_type, Pike_sp[-2].u.
type
)) {
struct pike_string *t1; struct pike_string *t2; char *fname = "__soft-cast";
1424:
fname = name->str; }
-
t1 = describe_type(Pike_sp[-2].u.
string
);
+
t1 = describe_type(Pike_sp[-2].u.
type
);
SET_ONERROR(tmp1, do_free_string, t1); t2 = describe_type(sval_type);