remove some tabs

This commit is contained in:
Joseph Poirier 2017-08-14 22:54:09 -05:00
parent df15ea775c
commit e4a559a1dc
No known key found for this signature in database
GPG key ID: 65858A2540EBDA40

View file

@ -136,36 +136,38 @@ void ExpressionStackShow(Picoc *pc, struct ExpressionStack *StackTop)
switch (StackTop->Val->Typ->Base) { switch (StackTop->Val->Typ->Base) {
case TypeVoid: case TypeVoid:
printf("void"); printf("void");
break; break;
case TypeInt: case TypeInt:
printf("%d:int", StackTop->Val->Val->Integer); printf("%d:int", StackTop->Val->Val->Integer);
break; break;
case TypeShort: case TypeShort:
printf("%d:short", StackTop->Val->Val->ShortInteger); printf("%d:short", StackTop->Val->Val->ShortInteger);
break; break;
case TypeChar: case TypeChar:
printf("%d:char", StackTop->Val->Val->Character); printf("%d:char", StackTop->Val->Val->Character);
break; break;
case TypeLong: case TypeLong:
printf("%ld:long", StackTop->Val->Val->LongInteger); printf("%ld:long", StackTop->Val->Val->LongInteger);
break; break;
case TypeUnsignedShort: case TypeUnsignedShort:
printf("%d:unsigned short", StackTop->Val->Val->UnsignedShortInteger); printf("%d:unsigned short", StackTop->Val->Val->UnsignedShortInteger);
break; break;
case TypeUnsignedInt: case TypeUnsignedInt:
printf("%d:unsigned int", StackTop->Val->Val->UnsignedInteger); printf("%d:unsigned int", StackTop->Val->Val->UnsignedInteger);
break; break;
case TypeUnsignedLong: case TypeUnsignedLong:
printf("%ld:unsigned long", StackTop->Val->Val->UnsignedLongInteger); printf("%ld:unsigned long", StackTop->Val->Val->UnsignedLongInteger);
break; break;
case TypeFP: case TypeFP:
printf("%f:fp", StackTop->Val->Val->FP); break; printf("%f:fp", StackTop->Val->Val->FP);
case TypeFunction: printf("%s:function", StackTop->Val->Val->Identifier); break;
break; case TypeFunction:
printf("%s:function", StackTop->Val->Val->Identifier);
break;
case TypeMacro: case TypeMacro:
printf("%s:macro", StackTop->Val->Val->Identifier); printf("%s:macro", StackTop->Val->Val->Identifier);
break; break;
case TypePointer: case TypePointer:
if (StackTop->Val->Val->Pointer == NULL) if (StackTop->Val->Val->Pointer == NULL)
printf("ptr(NULL)"); printf("ptr(NULL)");