@@ -209,7 +209,7 @@ public String parse() {
209
209
operand1 = ((Integer ) operands .peek ()).intValue ();
210
210
int operand1Type = ((Integer ) operandTypes .peek ()).intValue ();
211
211
if (operand1Type >= 0 ) {
212
- if (bfbasic ._debug ) {
212
+ if (bfbasic ._debug > 0 ) {
213
213
parsed += "\n (_T" + operand1 + "=" + operand1Type + ")\n " ;
214
214
}
215
215
parsed += "@_T" + operand1 + "[-]" + addTo (operand1Type );
@@ -225,7 +225,7 @@ public String parse() {
225
225
*/
226
226
String code = getCode ("_T" + operand1 , operator , "_T" + operand2 , simple );
227
227
if (code == null ) {
228
- if (bfbasic ._debug ) {
228
+ if (bfbasic ._debug > 0 ) {
229
229
parsed += "\n (_T" + operand2 + "=" + simple + ")\n " ;
230
230
}
231
231
parsed += "@_T" + operand2 + "[-]" + addTo (simple );
@@ -242,7 +242,7 @@ public String parse() {
242
242
// @T0 ([-]) - T0=255
243
243
// @V1[@T0-@V1-] T0=T0-V1:V1=0
244
244
// @T0[@V1+@T0-] V1=T0:T0=0
245
- if (bfbasic ._debug ) {
245
+ if (bfbasic ._debug > 0 ) {
246
246
parsed += "\n (_T" + (_tempvar - 1 ) + "=NOT(_T" + (_tempvar - 1 ) + "))\n " ;
247
247
}
248
248
parsed += "@_0-@_T" + (_tempvar - 1 ) + "[@_0-@_T" + (_tempvar - 1 )
@@ -254,7 +254,7 @@ public String parse() {
254
254
// @V1+
255
255
// @V2>>[>>]<-]<[<<]>[>[>>]<+<[<<]>-]>[>>]<<[-<<]
256
256
257
- if (bfbasic ._debug ) {
257
+ if (bfbasic ._debug > 0 ) {
258
258
parsed += "\n (_T" + (_tempvar - 1 ) + "=" + funct + "(_T"
259
259
+ (_tempvar - 1 ) + "))\n " ;
260
260
}
@@ -287,7 +287,7 @@ public String parse() {
287
287
operandTypes .push (new Integer (val )); // means simple
288
288
_tempvar ++;
289
289
} else if (_tokentype == TOKEN_VARIABLE ) {
290
- if (bfbasic ._debug ) {
290
+ if (bfbasic ._debug > 0 ) {
291
291
parsed += "\n (_T" + _tempvar + "=" + _token + ")\n " ;
292
292
}
293
293
if (_token .equalsIgnoreCase ("INKEY" )) {
@@ -388,7 +388,7 @@ public String parse() {
388
388
operand1 = ((Integer ) operands .peek ()).intValue ();
389
389
int operand1Type = ((Integer ) operandTypes .peek ()).intValue ();
390
390
if (operand1Type >= 0 ) {
391
- if (bfbasic ._debug ) {
391
+ if (bfbasic ._debug > 0 ) {
392
392
parsed += "\n (_T" + operand1 + "=" + operand1Type + ")\n " ;
393
393
}
394
394
parsed += "@_T" + operand1 + "[-]" + addTo (operand1Type );
@@ -404,7 +404,7 @@ public String parse() {
404
404
*/
405
405
String code = getCode ("_T" + operand1 , operator , "_T" + operand2 , simple );
406
406
if (code == null ) {
407
- if (bfbasic ._debug ) {
407
+ if (bfbasic ._debug > 0 ) {
408
408
parsed += "\n (_T" + operand2 + "=" + simple + ")\n " ;
409
409
}
410
410
parsed += "@_T" + operand2 + "[-]" + addTo (simple );
@@ -427,7 +427,7 @@ public String parse() {
427
427
operand1 = ((Integer ) operands .peek ()).intValue ();
428
428
int operand1Type = ((Integer ) operandTypes .peek ()).intValue ();
429
429
if (operand1Type >= 0 ) {
430
- if (bfbasic ._debug ) {
430
+ if (bfbasic ._debug > 0 ) {
431
431
parsed += "\n (_T" + operand1 + "=" + operand1Type + ")\n " ;
432
432
}
433
433
parsed += "@_T" + operand1 + "[-]" + addTo (operand1Type );
@@ -443,7 +443,7 @@ public String parse() {
443
443
*/
444
444
String code = getCode ("_T" + operand1 , operator , "_T" + operand2 , simple );
445
445
if (code == null ) {
446
- if (bfbasic ._debug ) {
446
+ if (bfbasic ._debug > 0 ) {
447
447
parsed += "\n (_T" + operand2 + "=" + simple + ")\n " ;
448
448
}
449
449
parsed += "@_T" + operand2 + "[-]" + addTo (simple );
@@ -474,7 +474,7 @@ public String parse() {
474
474
//------------------------------------------------------------------
475
475
String getCode (String operand1 , String operator_ , String operand2 , int simple ) {
476
476
String code = "" ;
477
- if (bfbasic ._debug ) {
477
+ if (bfbasic ._debug > 0 ) {
478
478
if (operand1 .equals ("_T-1" )) {
479
479
code += "\n (_T" + operand2 + "=-_T" + operand2 + ")\n " ;
480
480
} else if (simple < 0 ) {
0 commit comments