]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0652: too many strlen() calls in syntax.c v9.1.0652
authorJohn Marriott <basilisk@internode.on.net>
Thu, 1 Aug 2024 21:01:25 +0000 (23:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 1 Aug 2024 21:01:25 +0000 (23:01 +0200)
commitb4ea77185c7deeb6f7c8d5aa14f8c97a097e5dee
tree5972210beee13bdb6266b3cf4e7e4898bb4e3d8f
parent0214680a8ec5f7f656cb42e5db19243709202ed2
patch 9.1.0652: too many strlen() calls in syntax.c

Problem:  too many strlen() calls in syntax.c
Solution: refactor code to reduce the number or strlen() calls,
          get rid of un-used SYN_NAMELEN macro
          (John Marriott)

closes: #15368

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/syntax.c
src/version.c