Fixes tabs problem with equ

This commit is contained in:
simon 2018-01-06 14:04:31 -05:00
parent 24d81d194e
commit f68027bb4d

View File

@ -307,7 +307,7 @@ public class Assembler {
String[] tokens = line.split("\\s+");
if (line.toUpperCase().contains(" EQU ")) {
if (line.toUpperCase().matches(".*\\bEQU\\b.*")) {
if (tokens[1].toUpperCase().equals("EQU") && tokens.length == 3) {
try {
//Save value as a label