pike.git/
src/
pike_types.c
Branch:
Tag:
Non-build tags
All tags
No tags
2007-11-03
2007-11-03 20:11:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>
48f1dbe9e347dd440dcc59ed979b9df7d3029318 (
15
lines) (+
10
/-
5
)
[
Show
|
Annotate
]
Branch:
7.9
push_int_type() now knows about T_ZERO.
Rev: src/pike_types.c:1.314
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: pike_types.c,v 1.
313
2007/11/03 20:
06
:
31
grubba Exp $
+
|| $Id: pike_types.c,v 1.
314
2007/11/03 20:
11
:
48
grubba Exp $
*/ #include "global.h"
687:
min, max); #endif /* PIKE_DEBUG */
+
if (!min && !max) {
+
/* Special case... */
+
push_type(T_ZERO);
+
} else {
*(++Pike_compiler->type_stackp) = mk_type(T_INT, (void *)(ptrdiff_t)min, (void *)(ptrdiff_t)max, 0);
-
+
}
TYPE_STACK_DEBUG("push_int_type"); }