• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/shell/

Lines Matching defs:syntax

68  *      propagate syntax errors, die on resource errors?
432 static void syntax(const char *msg)
440 fp(msg ? "%s: %s" : "syntax error", "syntax error", msg);
1931 /* check syntax for "for" */
1936 syntax("malformed for"); /* no IN or no commands after IN */
1944 syntax("malformed for"); /* 2nd condition: not followed by IN */
2748 /* the src parameter allows us to peek forward to a possible &n syntax
2750 * Return code is 0 normally, 1 if a syntax error is detected in src.
2780 if (redir->dup == -2) return 1; /* syntax error */
2868 syntax("malformed for"); /* example: 'for if' */
2879 syntax(NULL);
2922 syntax(NULL);
2923 debug_printf_parse("done_word return 1: syntax error, groups and arglists don't mix\n");
3033 * returns either -2 (syntax error), -1 (no &), or the number found.
3140 return retcode; /* syntax error or EOF */
3188 syntax(NULL);
3189 debug_printf_parse("parse_group return 1: syntax error, groups and arglists don't mix\n");
3219 /* return code: 0 for OK, 1 for syntax error */
3264 syntax("unterminated ${name}");
3283 bb_error_msg("unhandled syntax: $%c", ch);
3293 /* return code is 0 for normal exit, 1 for syntax error */
3323 syntax("unterminated \"");
3367 syntax("\\<eof>");
3389 syntax("unterminated '");
3460 syntax("unexpected }"); /* Proper use of this character is caught by end_trigger */
3474 * one before the EOF. Can't use the standard "syntax error" return code,
3531 syntax(NULL);
3550 } while (rcode != -1 && !(parse_flag & PARSEFLAG_EXIT_FROM_LOOP)); /* loop on syntax errors, return on EOF */