From 54a23e0cd5eb8d307cef1bc61b33e4ce0abb8f8b Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Wed, 19 May 2021 15:34:20 -0500 Subject: [PATCH] fixed restline.match error --- src/worker/workermain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/workermain.ts b/src/worker/workermain.ts index 54d013f6..d853d468 100644 --- a/src/worker/workermain.ts +++ b/src/worker/workermain.ts @@ -754,7 +754,7 @@ function parseDASMListing(lstpath:string, lsttext:string, listings:CodeListingMa if (macmatch) { macros[macmatch[1]] = {line:parseInt(linem[1]), file:linem[2].toLowerCase()}; } - else if (insns && !restline.match(equMatch)) { + else if (insns && restline && !restline.match(equMatch)) { lines.push({ line:linenum, offset:offset,