mirror of
https://github.com/cc65/cc65.git
synced 2025-02-27 14:29:52 +00:00
Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@582 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
579b48c522
commit
3b472c7b91
@ -396,9 +396,7 @@ static ExprNode* DoArray (ExprNode* Left)
|
|||||||
Right = Expression ();
|
Right = Expression ();
|
||||||
|
|
||||||
/* Check the types. As special "C" feature, accept a reversal of base and
|
/* Check the types. As special "C" feature, accept a reversal of base and
|
||||||
* index types:
|
* index types: char C = 3["abcdefg"] is legal C!
|
||||||
* char C = 3["abcdefg"];
|
|
||||||
* is legal C!
|
|
||||||
*/
|
*/
|
||||||
if (IsClassPtr (Left->Type)) {
|
if (IsClassPtr (Left->Type)) {
|
||||||
/* Right side must be some sort of integer */
|
/* Right side must be some sort of integer */
|
||||||
@ -1109,8 +1107,6 @@ static ExprNode* DoMul (ExprNode* Left)
|
|||||||
Right = GetIntNode (0);
|
Right = GetIntNode (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do minor optimizations ### */
|
|
||||||
|
|
||||||
/* Make the root node */
|
/* Make the root node */
|
||||||
Root = AllocExprNode (NT_BOOL_NOT, TargetType, RVALUE);
|
Root = AllocExprNode (NT_BOOL_NOT, TargetType, RVALUE);
|
||||||
SetLeftNode (Root, Left);
|
SetLeftNode (Root, Left);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user