formats introduced in lint

This commit is contained in:
dick
1988-10-12 16:05:17 +00:00
parent aa4e16a912
commit bcf83eb1c4
13 changed files with 325 additions and 166 deletions

View File

@@ -74,7 +74,7 @@ LLlex()
}
else { /* read ahead and return the old one */
#ifdef LINT
move_NOT2s();
lint_comment_ahead();
#endif LINT
dot = ahead;
/* the following test is performed due to the dual
@@ -477,8 +477,8 @@ skipcomment()
NoUnstack++;
LoadChar(c);
#ifdef LINT
lint_comment(-2);
lint_comment(c);
lint_start_comment();
lint_comment_char(c);
#endif LINT
do {
while (c != '*') {
@@ -487,18 +487,24 @@ skipcomment()
else
if (c == EOI) {
NoUnstack--;
#ifdef LINT
lint_end_comment();
#endif LINT
return;
}
LoadChar(c);
#ifdef LINT
lint_comment(c);
lint_comment_char(c);
#endif LINT
} /* last Character seen was '*' */
LoadChar(c);
#ifdef LINT
lint_comment(c);
lint_comment_char(c);
#endif LINT
} while (c != '/');
#ifdef LINT
lint_end_comment();
#endif LINT
NoUnstack--;
}