X-Git-Url: https://git.sur5r.net/?p=cc65;a=blobdiff_plain;f=src%2Fcc65%2Fgoto.c;h=08a7033c38dc3da200810884057a82a5f002abfc;hp=1b99a98030c3ecc20fa5aece05e3bf4a9a894894;hb=a9cbb5305c3863b3385c54d7112bd587e8d075c4;hpb=304473d8579f1a266c76c90c2c4da59fcc219281 diff --git a/src/cc65/goto.c b/src/cc65/goto.c index 1b99a9803..08a7033c3 100644 --- a/src/cc65/goto.c +++ b/src/cc65/goto.c @@ -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;