Mercurial > vim
comparison src/regexp_nfa.c @ 28247:f70015784777 v8.2.4649
patch 8.2.4649: various formatting problems
Commit: https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 30 10:57:45 2022 +0100
patch 8.2.4649: various formatting problems
Problem: Various formatting problems.
Solution: Improve the code formatting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Mar 2022 12:00:05 +0200 |
parents | 3ccd55c472b8 |
children | a3a760ee765f |
comparison
equal
deleted
inserted
replaced
28246:e3d6184b89fa | 28247:f70015784777 |
---|---|
6762 | 6762 |
6763 case NFA_MARK: | 6763 case NFA_MARK: |
6764 case NFA_MARK_GT: | 6764 case NFA_MARK_GT: |
6765 case NFA_MARK_LT: | 6765 case NFA_MARK_LT: |
6766 { | 6766 { |
6767 size_t col = rex.input - rex.line; | 6767 pos_T *pos; |
6768 pos_T *pos = getmark_buf(rex.reg_buf, t->state->val, FALSE); | 6768 size_t col = REG_MULTI ? rex.input - rex.line : 0; |
6769 | |
6770 pos = getmark_buf(rex.reg_buf, t->state->val, FALSE); | |
6769 | 6771 |
6770 // Line may have been freed, get it again. | 6772 // Line may have been freed, get it again. |
6771 if (REG_MULTI) | 6773 if (REG_MULTI) |
6772 { | 6774 { |
6773 rex.line = reg_getline(rex.lnum); | 6775 rex.line = reg_getline(rex.lnum); |