MCPcopy Create free account
hub / github.com/coreutils/coreutils / require_more_args

Function require_more_args

src/expr.c:539–545  ·  view source on GitHub ↗

Report missing operand. There is an implicit assumption that there was a previous argument, and (args-1) is valid. */

Source from the content-addressed store, hash-verified

537 There is an implicit assumption that there was a previous argument,
538 and (args-1) is valid. */
539static void
540require_more_args (void)
541{
542 if (nomoreargs ())
543 error (EXPR_INVALID, 0, _("syntax error: missing argument after %s"),
544 quotearg_n_style (0, locale_quoting_style, *(args - 1)));
545}
546
547
548#ifdef EVAL_TRACE

Callers 2

eval7Function · 0.85
eval6Function · 0.85

Calls 1

nomoreargsFunction · 0.85

Tested by

no test coverage detected