]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1287: quickfix code can be further improved v9.1.1287
authorHirohito Higashi <h.east.727@gmail.com>
Mon, 7 Apr 2025 19:19:07 +0000 (21:19 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 7 Apr 2025 19:19:07 +0000 (21:19 +0200)
commitadcfb6caeb1c9c54448fff8d5812c3dca2ba0d03
tree380877d9329f1c0882abe6e98e873b6b308044ce
parente370141bf41919642061ee2e78340dca84678712
patch 9.1.1287: quickfix code can be further improved

Problem:  quickfix code can be further improved (after v9.1.1283)
Solution: slightly refactor quickfix.c (Hirohito Higashi)

- remove error message output
- adjust comments
- rename functions:
  - qf_init_quickfix_stack() --> qf_init_stack()
  - qf_resize_quickfix_stack() --> qf_resize_stack()
  - qf_resize_stack() --> qf_resize_stack_base()

Now qf_alloc_stack() can handle both quickfix/location lists.

closes: #17068

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/main.c
src/option.c
src/proto/quickfix.pro
src/quickfix.c
src/version.c