The expression parser now allows spaces inside expressions (a relaxation for certain MACRO-10 typos; eg, "- 1" where "-1" was expected)
This commit is contained in:
parent
776e225920
commit
d13e7a5faf
3 changed files with 31 additions and 6 deletions
|
|
@ -1285,7 +1285,9 @@ class Macro10 {
|
|||
w = this.dbg.parseInstruction(sOperator, sOperands, this.nLocation, true);
|
||||
}
|
||||
|
||||
if (w < 0) w = this.parseExpression(sExp, true);
|
||||
if (w < 0) {
|
||||
w = this.parseExpression(sExp, true);
|
||||
}
|
||||
|
||||
if (w !== undefined) {
|
||||
this.genWord(w, this.dbg.sUndefined);
|
||||
|
|
|
|||
Loading…
Reference in a new issue