Skip to content

Commit

Permalink
Type error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deleterium committed Jul 10, 2021
1 parent 734ac92 commit 60d29dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
line1 = /^\s*(BZR|BNZ)\s+\$(\w+)\s+:(\w+)\s*$/.exec(value);
if (line1 != null) {
line3 = /^\s*(\w+):\s*$/.exec(array[index+2]); //matches labels
if (line3 != null && line1[4] == line3[1]) {
if (line3 != null && line1[3] == line3[1]) {
line2 = /^\s*JMP\s+:(\w+)\s*$/.exec(array[index+1]);
if (line2 != null) {

Expand Down

0 comments on commit 60d29dd

Please sign in to comment.