mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-26 10:49:17 +00:00
fixed restline.match error
This commit is contained in:
parent
b8d4ab971e
commit
54a23e0cd5
@ -754,7 +754,7 @@ function parseDASMListing(lstpath:string, lsttext:string, listings:CodeListingMa
|
|||||||
if (macmatch) {
|
if (macmatch) {
|
||||||
macros[macmatch[1]] = {line:parseInt(linem[1]), file:linem[2].toLowerCase()};
|
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({
|
lines.push({
|
||||||
line:linenum,
|
line:linenum,
|
||||||
offset:offset,
|
offset:offset,
|
||||||
|
Loading…
Reference in New Issue
Block a user