mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
refactor: convert macros to all-caps (#17895)
Closes https://github.com/neovim/neovim/issues/6297
This commit is contained in:
@@ -2324,7 +2324,7 @@ int check_linecomment(const char_u *line)
|
||||
if (vim_strchr(p, ';') != NULL) { // there may be comments
|
||||
bool in_str = false; // inside of string
|
||||
|
||||
while ((p = vim_strpbrk(p, (char_u *)"\";")) != NULL) {
|
||||
while ((p = (char_u *)strpbrk((char *)p, "\";")) != NULL) {
|
||||
if (*p == '"') {
|
||||
if (in_str) {
|
||||
if (*(p - 1) != '\\') { // skip escaped quote
|
||||
|
Reference in New Issue
Block a user