Corrected a few expression parser changes that had adversely affected other debuggers (eg, PCx86)

This commit is contained in:
Jeff 2017-04-03 16:27:52 -07:00 committed by Jeff Parsons
commit 38f709bb7a
8 changed files with 78 additions and 76 deletions

View file

@ -1083,7 +1083,7 @@ class Debugger extends Component
/*
* A feature of MACRO-10 is that any single-digit number is automatically interpreted as base-10.
*/
value = Str.parseInt(sValue, sValue.length > 1? this.nBase : 10);
value = Str.parseInt(sValue, sValue.length > 1 || this.nBase > 10? this.nBase : 10);
}
}
if (value != null) {