diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2022-05-02 17:25:18 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2022-05-02 17:25:18 -0400 |
| commit | af668004e85e99858df4a025af82c4602e0ab399 (patch) | |
| tree | 09f9213ef9780ac4fcbd3b96c421ee09eaa5e128 /pattern.c | |
| parent | eb0f18dc7956a1f3ee51c20dedcc02b5304d5ce8 (diff) | |
Updated Make rules so default is `bp`
Diffstat (limited to 'pattern.c')
| -rw-r--r-- | pattern.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -320,6 +320,9 @@ static pat_t *_bp_simplepattern(const char *str, const char *end, bool inside_st if (*str == 'N') { // \N (nodent) all = either_pat(all, new_pat(BP_NODENT, itemstart, ++str, 1, -1)); continue; + } else if (*str == 'C') { // \C (current indent) + all = either_pat(all, new_pat(BP_CURDENT, itemstart, ++str, 1, -1)); + continue; } else if (*str == 'i') { // \i (identifier char) all = either_pat(all, new_pat(BP_ID_CONTINUE, itemstart, ++str, 1, -1)); continue; |
