Skip to content

Commit 3a24b76

Browse files
committed
basic: Don't determine label type based on file extension
1 parent 05e6ab4 commit 3a24b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsers/basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static void findBasicTags (void)
187187
if (match_keyword (p, kw)) break;
188188

189189
/* Is it a label? */
190-
if (strcmp (extension, "bb") == 0)
190+
if (*p == '.')
191191
match_dot_label (p);
192192
else
193193
match_colon_label (p);

0 commit comments

Comments
 (0)