Error ("Preprocessor expression expected");
ED_MakeConstAbsInt (E, 1);
return;
- }
+ }
switch (CurTok.Tok) {
* address. This is true for most arrays and will produce a lot better
* code. Check if this is a const base address.
*/
- ConstBaseAddr = ED_IsRVal (Expr) &&
+ ConstBaseAddr = ED_IsRVal (Expr) &&
(ED_IsLocConst (Expr) || ED_IsLocStack (Expr));
/* If we have a constant base, we delay the address fetch */
static void hie11 (ExprDesc *Expr)
/* Handle compound types (structs and arrays) */
{
+ /* Name value used in invalid function calls */
+ static const char IllegalFunc[] = "illegal_function_call";
+
/* Evaluate the lhs */
Primary (Expr);
Error ("Illegal function call");
/* Force the type to be a implicitly defined function, one
* returning an int and taking any number of arguments.
- * Since we don't have a name, place it at absolute address
- * zero.
+ * Since we don't have a name, invent one.
*/
ED_MakeConstAbs (Expr, 0, GetImplicitFuncType ());
+ Expr->Name = (long) IllegalFunc;
}
/* Call the function */
FunctionCall (Expr);