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:
Joerg Wunsch 1996-10-22 16:18:17 +00:00
parent df4ddde70b
commit f98f97bb1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19097

View File

@ -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);