Skip to content

Commit

Permalink
tools/nxstyle.c: Costmetic alignment and corrections to comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Mar 13, 2019
1 parent 4802eb6 commit 04fe412
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/nxstyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ int main(int argc, char **argv, char **envp)
{
switch (line[n])
{
/* Sequence containing 'v' may occur at the
/* A sequence containing 'v' may occur at the
* beginning of the identifier.
*/

Expand Down Expand Up @@ -597,14 +597,14 @@ int main(int argc, char **argv, char **envp)
}
break;

/* Sequence containing 'p' or 'd' must have been
/* Sequences containing 'p' or 'd' must have been
* preceded by upper case characters.
*/

case 'p':
if (!have_upper || n < 1 ||
!isdigit(line[n - 1]) ||
!isdigit(line[n + 1])))
!isdigit(line[n - 1]) ||
!isdigit(line[n + 1]))
{
have_lower = true;
}
Expand Down

0 comments on commit 04fe412

Please sign in to comment.