1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-06 01:29:31 +00:00

Fix coding style.

This commit is contained in:
Piotr Fusik 2017-06-30 07:35:21 +02:00
parent b31ae57be1
commit c0812670c1
2 changed files with 5 additions and 2 deletions

View File

@ -3547,7 +3547,7 @@ void g_lt (unsigned flags, unsigned long val)
/* Test for less than */
{
static const char* const ops[4] = {
"tosltax", "tosultax", "toslteax", "tosulteax",
"tosltax", "tosultax", "toslteax", "tosulteax"
};
unsigned Label;

View File

@ -230,8 +230,11 @@ static int findToken (const char * const *tokenTbl, const char *token)
{
/* takes as input table of tokens and token, returns position in table or -1 if not found */
int i;
for (i = 0; tokenTbl[i][0]; i++) {
if (strcmp (tokenTbl[i], token) == 0) return i;
if (strcmp (tokenTbl[i], token) == 0) {
return i;
}
}
return -1;