mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@856 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3c2dafcb1f
commit
bf47ac26c9
@ -79,9 +79,7 @@ ExprNode* Expression (void);
|
|||||||
|
|
||||||
|
|
||||||
static int IsTypeExpr (void)
|
static int IsTypeExpr (void)
|
||||||
/* Return true if some sort of variable or type is waiting (helper for cast
|
/* Return true if some sort of variable or type is waiting */
|
||||||
* and sizeof() in hie10).
|
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
SymEntry* Entry;
|
SymEntry* Entry;
|
||||||
|
|
||||||
@ -137,7 +135,7 @@ static ExprNode* GetIntNode (int Value)
|
|||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Code */
|
/* Code */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
@ -661,6 +659,7 @@ static ExprNode* DoPostIncDec (ExprNode* Left)
|
|||||||
|
|
||||||
|
|
||||||
static ExprNode* PostfixExpr (void)
|
static ExprNode* PostfixExpr (void)
|
||||||
|
/* Handle a postfix expression */
|
||||||
{
|
{
|
||||||
/* Get the lower level expression */
|
/* Get the lower level expression */
|
||||||
ExprNode* Root = Primary ();
|
ExprNode* Root = Primary ();
|
||||||
@ -909,7 +908,7 @@ static ExprNode* DoAddress (void)
|
|||||||
|
|
||||||
|
|
||||||
static ExprNode* DoIndirect (void)
|
static ExprNode* DoIndirect (void)
|
||||||
/* Handle the indirection operaror * */
|
/* Handle the indirection operator * */
|
||||||
{
|
{
|
||||||
ExprNode* Op;
|
ExprNode* Op;
|
||||||
type* ResultType;
|
type* ResultType;
|
||||||
@ -1021,7 +1020,7 @@ static ExprNode* DoTypeCast (void)
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
/* Must be casted. Setup the expression tree and return the new node */
|
/* Must be casted. Setup the expression tree and return the new node */
|
||||||
Root = AllocExprNode (NT_BOOL_NOT, TargetType, RVALUE);
|
Root = AllocExprNode (NT_TYPECAST, TargetType, RVALUE);
|
||||||
SetLeftNode (Root, Op);
|
SetLeftNode (Root, Op);
|
||||||
return Root;
|
return Root;
|
||||||
|
|
||||||
@ -1608,4 +1607,3 @@ static ExprNode* ConditionalExpr (void)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user