Commit 253245df by Richard Kenner

(for_lint): Variable renamed from `lint'.

From-SVN: r6904
parent 25a1b918
...@@ -359,7 +359,7 @@ static int max_include_len; ...@@ -359,7 +359,7 @@ static int max_include_len;
/* Nonzero means turn NOTREACHED into #pragma NOTREACHED etc */ /* Nonzero means turn NOTREACHED into #pragma NOTREACHED etc */
static int lint = 0; static int for_lint = 0;
/* Nonzero means copy comments into the output file. */ /* Nonzero means copy comments into the output file. */
...@@ -1343,7 +1343,7 @@ main (argc, argv) ...@@ -1343,7 +1343,7 @@ main (argc, argv)
if (! strcmp (argv[i], "-lang-asm")) if (! strcmp (argv[i], "-lang-asm"))
lang_asm = 1; lang_asm = 1;
if (! strcmp (argv[i], "-lint")) if (! strcmp (argv[i], "-lint"))
lint = 1; for_lint = 1;
break; break;
case '+': case '+':
...@@ -2728,7 +2728,7 @@ do { ip = &instack[indepth]; \ ...@@ -2728,7 +2728,7 @@ do { ip = &instack[indepth]; \
++ibp; /* Skip the star. */ ++ibp; /* Skip the star. */
/* If this cpp is for lint, we peek inside the comments: */ /* If this cpp is for lint, we peek inside the comments: */
if (lint) { if (for_lint) {
U_CHAR *argbp; U_CHAR *argbp;
int cmdlen, arglen; int cmdlen, arglen;
char *lintcmd = get_lintcmd (ibp, limit, &argbp, &arglen, &cmdlen); char *lintcmd = get_lintcmd (ibp, limit, &argbp, &arglen, &cmdlen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment