Changeset: Only pass strings to `parseNum()`

pull/5268/head
Richard Hansen 2021-10-21 03:35:03 -04:00
parent 7ec0d5f385
commit 18a6b7279c
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ exports.opIterator = (opsStr) => {
const op = optOp || exports.newOp();
if (regexResult[0]) {
op.attribs = regexResult[1];
op.lines = exports.parseNum(regexResult[2] || 0);
op.lines = exports.parseNum(regexResult[2] || '0');
op.opcode = regexResult[3];
op.chars = exports.parseNum(regexResult[4]);
regexResult = nextRegexMatch();