moved a declaration to the start of block
Abiding by the C89 declaration rules so that AppVeyor build can succeed.
This commit is contained in:
parent
fa86f8f6cb
commit
b13928c584
@ -1344,19 +1344,18 @@ static int command(void)
|
|||||||
break;
|
break;
|
||||||
default: {
|
default: {
|
||||||
extern char *sc_tokens[];/* forward declaration */
|
extern char *sc_tokens[];/* forward declaration */
|
||||||
|
char s2[33] = "-";
|
||||||
if ((char)tok == '-') {
|
if ((char)tok == '-') {
|
||||||
if (lex(&val, &str) == tNUMBER) {
|
if (lex(&val, &str) == tNUMBER) {
|
||||||
outval(-val, FALSE);
|
outval(-val, FALSE);
|
||||||
code_idx += opargs(1);
|
code_idx += opargs(1);
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
char s2[33] = "-";
|
|
||||||
strcpy((s2 + 1), str);
|
strcpy((s2 + 1), str);
|
||||||
error(1, sc_tokens[tSYMBOL - tFIRST], s2);
|
error(1, sc_tokens[tSYMBOL - tFIRST], s2);
|
||||||
break;
|
break;
|
||||||
}/* if */
|
}/* if */
|
||||||
}/* if */
|
}/* if */
|
||||||
char s2[20];
|
|
||||||
if (tok<256)
|
if (tok<256)
|
||||||
sprintf(s2,"%c",(char)tok);
|
sprintf(s2,"%c",(char)tok);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user