mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
The neverending story... vgrind.
For definitions without an "nc" entry, some parts have now been mis-detected as `non-comment'. Avoid this by not converting the noregexp in case the "nc" capability has not been found. I begin to wonder why things like missing "ab"/"ae"'s do work at all... Detected by: nate
This commit is contained in:
parent
df4ddde70b
commit
f98f97bb1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19097
@ -275,8 +275,8 @@ main(argc, argv)
|
||||
l_chrbeg = convexp(cp);
|
||||
cgetustr(defs, "le", &cp);
|
||||
l_chrend = convexp(cp);
|
||||
cgetustr(defs, "nc", &cp);
|
||||
l_nocom = convexp(cp);
|
||||
if (cgetustr(defs, "nc", &cp) >= 0)
|
||||
l_nocom = convexp(cp);
|
||||
l_escape = '\\';
|
||||
l_onecase = (cgetcap(defs, "oc", ':') != NULL);
|
||||
l_toplex = (cgetcap(defs, "tl", ':') != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user