Mercurial > vim
comparison src/search.c @ 333:18f024844150 v7.0086
updated for version 7.0086
author | vimboss |
---|---|
date | Thu, 16 Jun 2005 21:59:56 +0000 |
parents | 006e9c8a6a8a |
children | 6c62b9b939bd |
comparison
equal
deleted
inserted
replaced
332:d5e895294dce | 333:18f024844150 |
---|---|
2222 if (vim_strchr(p, ';') != NULL) /* there may be comments */ | 2222 if (vim_strchr(p, ';') != NULL) /* there may be comments */ |
2223 { | 2223 { |
2224 int instr = FALSE; /* inside of string */ | 2224 int instr = FALSE; /* inside of string */ |
2225 | 2225 |
2226 p = line; /* scan from start */ | 2226 p = line; /* scan from start */ |
2227 while ((p = vim_strpbrk(p, "\";")) != NULL) | 2227 while ((p = vim_strpbrk(p, (char_u *)"\";")) != NULL) |
2228 { | 2228 { |
2229 if (*p == '"') | 2229 if (*p == '"') |
2230 { | 2230 { |
2231 if (instr) | 2231 if (instr) |
2232 { | 2232 { |