mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-12 14:28:55 +00:00
Merge pull request #87 from ChartreuseK/bug-81
Added minimum length check to 'DW' parsing
This commit is contained in:
@@ -132,7 +132,7 @@ public class Assembler {
|
||||
|
||||
//System.out.println(line);
|
||||
|
||||
if (line.substring(0, 2).toUpperCase().equals("DW")) {
|
||||
if (line.length() >= 2 && line.substring(0, 2).toUpperCase().equals("DW")) {
|
||||
|
||||
try {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user