This commit is contained in:
simon987
2019-01-15 21:02:25 -05:00
parent 993838651f
commit 762bad758b
23 changed files with 212 additions and 45 deletions

View File

@@ -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));
}