File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#ifndef EXPRESSION_H
22#define EXPRESSION_H
33
4- /** ******************************************************************** **
4+ /*********************************************************************/ / **
55** Module: Expression \file expr.h
66** Description: This module implements the Expression abstraction.
77** Several types of expressions are supported: identifiers,
6464#include <math.h>
6565#include "expbasic.h" /* get basic definitions */
6666
67- #ifndef MAXINT
68- #define MAXINT (~(1 << 31))
69- #endif
70-
7167/************/
7268/* typedefs */
7369/************/
Original file line number Diff line number Diff line change 8181#include "express/resolve.h"
8282
8383#include <assert.h>
84+ #include <limits.h>
8485
8586#ifdef YYDEBUG
8687extern int yydebug ;
@@ -167,7 +168,7 @@ void EXPinitialize( void ) {
167168 resolved_all ( LITERAL_PI );
168169
169170 LITERAL_INFINITY = EXPcreate_simple ( Type_Integer );
170- LITERAL_INFINITY -> u .integer = MAXINT ;
171+ LITERAL_INFINITY -> u .integer = INT_MAX ;
171172 resolved_all ( LITERAL_INFINITY );
172173
173174 LITERAL_ZERO = EXPcreate_simple ( Type_Integer );
You can’t perform that action at this time.
0 commit comments