Fixes #112 (Part two)

This commit is contained in:
simon 2018-01-07 13:29:42 -05:00
parent cfb02869bb
commit 1131e4d512

View File

@ -101,7 +101,7 @@ public class Assembler {
Matcher matcher = pattern.matcher(line);
if (matcher.find()) {
String label = matcher.group(0).substring(0, matcher.group(0).length() - 1);
String label = matcher.group(0).substring(0, matcher.group(0).length() - 1).trim();
LogManager.LOGGER.fine("DEBUG: Label " + label + " @ " + (result.origin + currentOffset));
result.labels.put(label, (char) (result.origin + currentOffset));