-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconstmt.cpp
executable file
·36 lines (33 loc) · 952 Bytes
/
constmt.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include"all.hpp"
void containStmtCls::addValInt(int no,int *data)
{ if(valInt) delete[] valInt;
valInt= new int[noOfValInt=no];
for(int i1=0;i1<no;i1++)valInt[i1]=data[i1];
}
void containStmtCls::print(void)
{
char pp1[50];
/* if(instrFind(eiw ,pp1))
outDebugError<<"eiw of instr is "<<pp1<<"\n";
else
{ outDebugError<<" ERROR THE INSTR IS ERROR EIW EIW " <<"\n";return; }
if(eiw==NoInstr) return ;
*/
ecs.evalSize();
/*
outDebugError<<"line stmt is "<<lineStmt;
outDebugError<<"no Of Val Int is "<<noOfValInt;
outDebugError<<"noEcs "<<noEcs<<"\n";
outDebugError.flush();
if(valInt)
{ outDebugError<<" the value of int is \n";
for(int ii1=0;ii1<noOfValInt;ii1++)
outDebugError<<valInt[ii1]<<" ";
outDebugError<<"\n";
}
outDebugError.flush();
// myDebugKey(ecs.size()," next stmt ");
// myDebugKey(eiw,pp1);
for(int i1=0;i1<ecs.size();i1++) ecs.getPi(i1)->print();
*/
}