mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-17 08:39:06 +00:00
@@ -28,7 +28,7 @@ function checkForLabel(line, result) {
|
||||
line = removeComment(line);
|
||||
|
||||
var match;
|
||||
if ((match = /\b\w*\b:/.exec(line)) !== null) {
|
||||
if ((match = /^[a-zA-Z_]\w*:/.exec(line)) !== null) {
|
||||
|
||||
result.labels.push(match[0].substring(0, match[0].length - 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user