From c2ba9f063cf1413d4620bd540f00b585e55e8258 Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Fri, 7 Jan 2011 04:06:33 +0000 Subject: [PATCH] Fixed a problem with type printing in expression debug mode git-svn-id: http://picoc.googlecode.com/svn/trunk@487 21eae674-98b7-11dd-bd71-f92a316d2d60 --- expression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression.c b/expression.c index e2af74e..0a3b64a 100644 --- a/expression.c +++ b/expression.c @@ -110,7 +110,7 @@ void ExpressionStackShow(struct ExpressionStack *StackTop) case TypeStruct: printf("%s:struct", StackTop->Val->Val->Identifier); break; case TypeUnion: printf("%s:union", StackTop->Val->Val->Identifier); break; case TypeEnum: printf("%s:enum", StackTop->Val->Val->Identifier); break; - case Type_Type: PrintType(StackTop->Val->Val->Typ, &CStdOut); printf(":type"); break; + case Type_Type: PrintType(StackTop->Val->Val->Typ, CStdOut); printf(":type"); break; default: printf("unknown"); break; } printf("[0x%lx,0x%lx]", (long)StackTop, (long)StackTop->Val);