static int IsTypeExpr (void)
-/* Return true if some sort of variable or type is waiting (helper for cast
- * and sizeof() in hie10).
- */
+/* Return true if some sort of variable or type is waiting */
{
SymEntry* Entry;
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
static ExprNode* PostfixExpr (void)
+/* Handle a postfix expression */
{
/* Get the lower level expression */
ExprNode* Root = Primary ();
static ExprNode* DoIndirect (void)
-/* Handle the indirection operaror * */
+/* Handle the indirection operator * */
{
ExprNode* Op;
type* ResultType;
} else {
/* 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);
return Root;
-