Fixed (or rather, band-aided) a MACRO-10 regression assembling the nested macro test (/apps/pdp10/tests/macro10/TEST.MAC)

This commit is contained in:
Jeff 2017-04-05 20:42:44 -07:00 committed by Jeff Parsons
commit ea95de4939
8 changed files with 49 additions and 35 deletions

View file

@ -792,7 +792,7 @@ class Debugger extends Component
* @param {string} chDelim
* @param {number} nBits
* @param {number} cchMax
* @return {string}
* @return {string|undefined}
*/
parseASCII(sExp, chDelim, nBits, cchMax)
{
@ -819,7 +819,7 @@ class Debugger extends Component
}
if (cch >= 0) {
this.println("parse error (" + chDelim + sExp + chDelim + ")");
break;
return undefined;
} else {
sExp = sExp.substr(0, i) + this.toStrBase(v, -1) + sExp.substr(j);
}