home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
adaptor
/
src
/
include
/
expressi.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-02
|
996b
|
33 lines
# ifndef yyExpressions
# define yyExpressions
# if defined __STDC__ | defined __cplusplus
# define ARGS(parameters) parameters
# else
# define ARGS(parameters) ()
# endif
# ifndef bool
# define bool char
# endif
# include "Tree.h"
# include "Definiti.h"
extern void GetIntConstValue ARGS((tTree exp, bool * found, int * val));
extern void GetConstDifference ARGS((tTree exp1, tTree exp2, bool * found, int * val));
extern int IsVarInExp ARGS((tIdent name, tTree exp));
extern tTree MakeNotExp ARGS((tTree e));
extern bool EqualExpression ARGS((tTree e1, tTree e2));
extern tTree AddConstant ARGS((tTree exp, int c));
extern tTree MakeConstant ARGS((int n));
extern void ResolveExpression ARGS((tTree exp, bool * found, int * a, int * b, tTree * var));
extern void SliceIncrement ARGS((tTree yyP1, bool * yyP3, int * yyP2));
extern tTree MakeSliceExp ARGS((tTree start, tTree stop));
extern void BeginExpressions ();
extern void CloseExpressions ();
# endif