mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
tools/nxstyle.c: Costmetic alignment and corrections to comments.
This commit is contained in:
parent
4802eb65c5
commit
04fe412414
1 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue