Allow optional colon for :Tag:foo
This commit is contained in:
parent
2988080c32
commit
563ecf332e
@ -520,6 +520,7 @@ static pat_t *_bp_simplepattern(const char *str, const char *end, bool inside_st
|
||||
if (str == name)
|
||||
parse_err(start, str, "There should be an identifier after this ':'");
|
||||
size_t namelen = (size_t)(str - name);
|
||||
(void)matchchar(&str, ':', false, end); // Optional second colon for :Tag:foo instead of :Tag(foo)
|
||||
|
||||
pat_t *p = bp_simplepattern(str, end);
|
||||
if (p) str = p->end;
|
||||
|
Loading…
Reference in New Issue
Block a user