mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
Fixes tabs problem with equ
This commit is contained in:
@@ -307,7 +307,7 @@ public class Assembler {
|
|||||||
String[] tokens = line.split("\\s+");
|
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) {
|
if (tokens[1].toUpperCase().equals("EQU") && tokens.length == 3) {
|
||||||
try {
|
try {
|
||||||
//Save value as a label
|
//Save value as a label
|
||||||
|
|||||||
Reference in New Issue
Block a user