equal
deleted
inserted
replaced
112 { |
112 { |
113 polishstack.push( (*(mytab.mapstorage.edgemap_storage[ ch2var[ polishform[i] ] ]))[k]); |
113 polishstack.push( (*(mytab.mapstorage.edgemap_storage[ ch2var[ polishform[i] ] ]))[k]); |
114 } |
114 } |
115 else |
115 else |
116 { |
116 { |
117 char * def_val_ch=new char [(int)(ch2var[ polishform[i] ].length())]; |
117 polishstack.push(atof(ch2var[ polishform[i] ].c_str())); |
118 for(int j=0;j<(int)(ch2var[ polishform[i] ].length());j++) |
|
119 { |
|
120 def_val_ch[j]=ch2var[ polishform[i] ][j]; |
|
121 } |
|
122 polishstack.push(atof(def_val_ch)); |
|
123 delete def_val_ch; |
|
124 } |
118 } |
125 operation=false; |
119 operation=false; |
126 break; |
120 break; |
127 } |
121 } |
128 if(operation) |
122 if(operation) |
199 { |
193 { |
200 polishstack.push( (*(mytab.mapstorage.nodemap_storage[ ch2var[ polishform[i] ] ]))[k]); |
194 polishstack.push( (*(mytab.mapstorage.nodemap_storage[ ch2var[ polishform[i] ] ]))[k]); |
201 } |
195 } |
202 else |
196 else |
203 { |
197 { |
204 char * def_val_ch=new char [(int)(ch2var[ polishform[i] ].length())]; |
198 polishstack.push(atof(ch2var[ polishform[i] ].c_str())); |
205 for(int j=0;j<(int)(ch2var[ polishform[i] ].length());j++) |
|
206 { |
|
207 def_val_ch[j]=ch2var[ polishform[i] ][j]; |
|
208 } |
|
209 polishstack.push(atof(def_val_ch)); |
|
210 delete def_val_ch; |
|
211 } |
199 } |
212 operation=false; |
200 operation=false; |
213 break; |
201 break; |
214 } |
202 } |
215 if(operation) |
203 if(operation) |