From: cuz Date: Sun, 10 Dec 2000 10:40:28 +0000 (+0000) Subject: Cosmetic changes X-Git-Tag: V2.12.0~2962 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b472c7b912f9d7ed54f563f1dd3a91772520786;p=cc65 Cosmetic changes git-svn-id: svn://svn.cc65.org/cc65/trunk@582 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/parser.c b/src/cc65/parser.c index 8349aa4fa..96f8e57c9 100644 --- a/src/cc65/parser.c +++ b/src/cc65/parser.c @@ -396,9 +396,7 @@ static ExprNode* DoArray (ExprNode* Left) Right = Expression (); /* Check the types. As special "C" feature, accept a reversal of base and - * index types: - * char C = 3["abcdefg"]; - * is legal C! + * index types: char C = 3["abcdefg"] is legal C! */ if (IsClassPtr (Left->Type)) { /* Right side must be some sort of integer */ @@ -929,7 +927,7 @@ static ExprNode* DoIndirect (void) Error (ERR_ILLEGAL_INDIRECT); /* Free the problematic tree */ - FreeExprTree (Op); + FreeExprTree (Op); /* Return something that is safe later ### */ return GetIntNode (0); @@ -1109,8 +1107,6 @@ static ExprNode* DoMul (ExprNode* Left) Right = GetIntNode (0); } - /* Do minor optimizations ### */ - /* Make the root node */ Root = AllocExprNode (NT_BOOL_NOT, TargetType, RVALUE); SetLeftNode (Root, Left);