mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
Fix missing spaces
This commit is contained in:
parent
304473d857
commit
a9cbb5305c
@ -429,7 +429,7 @@ static CodeEntry* ParseInsn (CodeSeg* S, LineInfo* LI, const char* L)
|
||||
/* If we don't have the label, it's a forward ref - create it unless
|
||||
** it's an external function.
|
||||
*/
|
||||
if (Label == 0 && (OPC->OPC != OP65_JMP || IsLocalLabelName(Arg)) ) {
|
||||
if (Label == 0 && (OPC->OPC != OP65_JMP || IsLocalLabelName (Arg)) ) {
|
||||
/* Generate a new label */
|
||||
Label = CS_NewCodeLabel (S, Arg, Hash);
|
||||
}
|
||||
|
@ -704,7 +704,7 @@ static void Primary (ExprDesc* E)
|
||||
/* output its label */
|
||||
E->Flags = E_RTYPE_RVAL | E_LOC_STATIC;
|
||||
E->Name = Entry->V.L.Label;
|
||||
E->Type = PointerTo(type_void);
|
||||
E->Type = PointerTo (type_void);
|
||||
NextToken ();
|
||||
} else {
|
||||
Error ("Computed gotos are a C extension, not supported with this --standard");
|
||||
|
@ -90,12 +90,12 @@ void GotoStatement (void)
|
||||
ConsumeLBrack ();
|
||||
|
||||
/* Find array size */
|
||||
if (!IsTypeArray(arr->Type) || SizeOf(arr->Type) == 0 ||
|
||||
SizeOf(GetElementType(arr->Type)) != 2)
|
||||
if (!IsTypeArray (arr->Type) || SizeOf (arr->Type) == 0 ||
|
||||
SizeOf (GetElementType(arr->Type)) != 2)
|
||||
Error ("Expected array");
|
||||
if (GetElementCount(arr->Type) > 127)
|
||||
if (GetElementCount (arr->Type) > 127)
|
||||
Error ("Only arrays with <= 127 labels are supported, got %lu",
|
||||
GetElementCount(arr->Type));
|
||||
GetElementCount (arr->Type));
|
||||
|
||||
if (CurTok.Tok == TOK_ICONST) {
|
||||
val = CurTok.IVal;
|
||||
|
@ -745,7 +745,7 @@ SymEntry* AddLabelSym (const char* Name, unsigned Flags)
|
||||
*/
|
||||
if (DOR->Flags & SC_GOTO) {
|
||||
SymEntry *E;
|
||||
g_userodata();
|
||||
g_userodata ();
|
||||
g_defdatalabel (DOR->LateSP_Label);
|
||||
g_defdata (CF_CONST | CF_INT, StackPtr - DOR->StackPtr, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user