pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2020-09-22
2020-09-22 11:19:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>
957a0094e59aa8808c8e39ab6cf2e5aeb264e5bf (
11
lines) (+
6
/-
5
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Fixed some typos.
3789:
switch(t->type & PIKE_T_MASK) { case T_ASSIGN: {
-
int marker = alloc_remap_marker(remap, CAR_TO_
IN
(t), flags);
+
int marker = alloc_remap_marker(remap, CAR_TO_
INT
(t), flags);
push_remap_markers(t->cdr, remap, flags); push_assign_type(marker); break;
3798:
case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': {
-
int marker = remap_marker(remap,
a
->type, flags);
+
int marker = remap_marker(remap,
t
->type, flags);
if (!marker) { /* FIXME: Improved error handling here. */ push_type(T_MIXED);
3858:
case T_NOT: case T_TYPE: case PIKE_T_AUTO:
-
push_remap_
type
(t->car, remap, flags);
+
push_remap_
markers
(t->car, remap, flags);
push_type(t->type); break;
3873:
case T_ARRAY: case T_STRING: case PIKE_T_TRANSITIVE:
-
push_remap_
type
(t->car, remap, flags);
-
push_remap_
type
(t->cdr, remap, flags);
+
push_remap_
markers
(t->car, remap, flags);
+
push_remap_
markers
(t->cdr, remap, flags);
push_reverse_type(t->type); break; }