mirror of
https://github.com/cc65/cc65.git
synced 2024-09-27 19:55:09 +00:00
Fix coding style.
This commit is contained in:
parent
b31ae57be1
commit
c0812670c1
@ -3547,7 +3547,7 @@ void g_lt (unsigned flags, unsigned long val)
|
|||||||
/* Test for less than */
|
/* Test for less than */
|
||||||
{
|
{
|
||||||
static const char* const ops[4] = {
|
static const char* const ops[4] = {
|
||||||
"tosltax", "tosultax", "toslteax", "tosulteax",
|
"tosltax", "tosultax", "toslteax", "tosulteax"
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned Label;
|
unsigned Label;
|
||||||
|
@ -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 */
|
/* takes as input table of tokens and token, returns position in table or -1 if not found */
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; tokenTbl[i][0]; 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;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user