1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

Cosmetic changes

git-svn-id: svn://svn.cc65.org/cc65/trunk@582 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-12-10 10:40:28 +00:00
parent 579b48c522
commit 3b472c7b91

View File

@ -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);