Refactor !!x to x != 0

Also limit comments and docs to single "!"s
This commit is contained in:
Rangi
2022-10-01 14:09:02 -04:00
parent 969412af24
commit a1107fc5cf
8 changed files with 10 additions and 10 deletions

View File

@@ -101,7 +101,7 @@ static char const *Callback__FILE__(void)
// Account for the extra backslash inserted below
if (fileName[i] == '"')
j++;
// Ensure there will be enough room; DO NOT PRINT ANYTHING ABOVE THIS!!
// Ensure there will be enough room; DO NOT PRINT ANYTHING ABOVE THIS!
if (j + 2 >= bufsize) { // Always keep room for 2 tail chars
bufsize = bufsize ? bufsize * 2 : 64;
buf = realloc(buf, bufsize);
@@ -590,7 +590,7 @@ struct Symbol *sym_AddAnonLabel(void)
}
char name[MAXSYMLEN + 1];
sym_WriteAnonLabelName(name, 0, true); // The direction is important!!
sym_WriteAnonLabelName(name, 0, true); // The direction is important!
anonLabelID++;
return addLabel(name);
}