/* * When a MACRO token is seen, next_token () uses get_macro_func () to * retrieve the value of the function pointer. */ static void init_macro_token (token_data *td) { if (isp->type != INPUT_MACRO) internal_error ("Bad call to get_macro_func ()"); TOKEN_DATA_TYPE (td) = TOKEN_FUNC; TOKEN_DATA_FUNC (td) = isp->u.u_m.func; TOKEN_DATA_FUNC_TRACED (td) = isp->u.u_m.traced; }
static void init_macro_token (token_data *td) { if (isp->type != INPUT_MACRO) { M4ERROR ((warning_status, 0, "INTERNAL ERROR: Bad call to init_macro_token ()")); abort (); } TOKEN_DATA_TYPE (td) = TOKEN_FUNC; TOKEN_DATA_FUNC (td) = isp->u.u_m.func; TOKEN_DATA_FUNC_TRACED (td) = isp->u.u_m.traced; }
static void init_macro_token (token_data *td) { if (isp->funcs->read_func != macro_read) { MP4HERROR ((warning_status, 0, "INTERNAL ERROR: Bad call to init_macro_token ()")); exit (1); } TOKEN_DATA_TYPE (td) = TOKEN_FUNC; TOKEN_DATA_FUNC (td) = isp->u.u_m.func; TOKEN_DATA_FUNC_TRACED (td) = isp->u.u_m.traced; }