Internals: Style cleanup. No functional change.

This commit is contained in:
Wilson Snyder
2019-10-18 20:28:59 -04:00
parent 7311c84937
commit 89c3c5f952
7 changed files with 17 additions and 17 deletions
+5 -5
View File
@@ -616,7 +616,7 @@ const string V3OutFormatter::indentSpaces(int num) {
}
*cp++ = '\0';
string st (str);
return (st);
return st;
}
bool V3OutFormatter::tokenStart(const char* cp, const char* cmp) {
@@ -639,9 +639,9 @@ int V3OutFormatter::endLevels(const char *strg) {
while (isspace(*cp)) cp++;
switch (*cp) {
case '\n': // Newlines.. No need for whitespace before it
return (0);
return 0;
case '#': // Preproc directive
return (0);
return 0;
}
{
// label/public/private: Deindent by 2 spaces
@@ -671,10 +671,10 @@ int V3OutFormatter::endLevels(const char *strg) {
case ' ':
break; // Continue
default:
return (levels); // Letter
return levels; // Letter
}
}
return (levels);
return levels;
}
void V3OutFormatter::puts(const char *strg) {