mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 03:22:08 +00:00
Fix whitespace
Replace spaces by tabs for consistency. The rest of the codebase uses tabs, so the linkerscript parser has to change. Removed trailing tabs in all codebase. Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
@@ -118,7 +118,6 @@ ULONG str2int2( char *s, int length )
|
||||
r<<=8;
|
||||
r|=(UBYTE)(s[i]);
|
||||
i++;
|
||||
|
||||
}
|
||||
return( r );
|
||||
}
|
||||
|
||||
@@ -438,7 +438,7 @@ CopyMacroArg(char *dest, size_t maxLength, char c)
|
||||
size_t i;
|
||||
char *s;
|
||||
int argNum;
|
||||
|
||||
|
||||
switch (c) {
|
||||
case '1':
|
||||
case '2':
|
||||
@@ -724,7 +724,7 @@ yylex_MACROARGS()
|
||||
index += length;
|
||||
else
|
||||
fatalerror("Illegal character escape '%c'", ch);
|
||||
|
||||
|
||||
ch = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -258,13 +258,13 @@ warning(const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
|
||||
|
||||
fprintf(stderr, "warning: ");
|
||||
fstk_Dump();
|
||||
fprintf(stderr, ":\n\t");
|
||||
vfprintf(stderr, fmt, args);
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
|
||||
@@ -766,7 +766,7 @@ sym_PrepPass2(void)
|
||||
sym_AddEqu("_NARG", 0);
|
||||
p_NARGSymbol = findsymbol("_NARG", NULL);
|
||||
p_NARGSymbol->Callback = Callback_NARG;
|
||||
|
||||
|
||||
math_DefinePI();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user