pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-21
1999-11-21 18:52:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>
6bbfeecee7bd4928ef62aca2e0ef5f151831c291 (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed typo in the int-range support.
Rev: src/language.yacc:1.135
183:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
134
1999/11/
18
02
:
46
:
02
mast
Exp $");
+
RCSID("$Id: language.yacc,v 1.
135
1999/11/
21
18:
52
:
12
grubba
Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
915:
push_type_int(MAX_INT32); }
-
if(
$4
->token == F_CONSTANT &&
$4
->u.sval.type == T_INT)
+
if(
$2
->token == F_CONSTANT &&
$2
->u.sval.type == T_INT)
{
-
push_type_int(
$4
->u.sval.u.integer);
+
push_type_int(
$2
->u.sval.u.integer);
}else{ push_type_int(MIN_INT32); }