From c009864bbb6d41999110fa0208886b25fc4b96a5 Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Tue, 3 Feb 2009 00:46:02 +0000 Subject: [PATCH] Fixed type parsing error git-svn-id: http://picoc.googlecode.com/svn/trunk@60 21eae674-98b7-11dd-bd71-f92a316d2d60 --- type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type.c b/type.c index 6e82ee6..588cbbf 100644 --- a/type.c +++ b/type.c @@ -171,7 +171,7 @@ void TypeParse(struct ParseState *Parser, struct ValueType **Typ, const char **I break; case TokenIdentifier: - if (*Typ == NULL || *Identifier == StrEmpty) + if (*Typ == NULL || *Identifier != StrEmpty) ProgramFail(Parser, "bad type declaration"); *Identifier = LexValue->Val->String;