extern int errno; #include "bashintl.h" static int test_error_return; extern int sh_stat __P((const char *, struct stat *)); static int pos; /* The offset of the current argument in ARGV. */ static int argc; /* The number of arguments present in ARGV. */ static int noeval; static void integer_expected_error __P((char *)) __attribute__((__noreturn__)); static int unary_operator __P((void)); static int binary_operator __P((void)); static int two_arguments __P((void)); static int three_arguments __P((void)); static int posixtest __P((void)); static int expr __P((void)); static int term __P((void)); static int and __P((void)); static int or __P((void)); static int filecomp __P((char *, char *, int)); static int arithcomp __P((char *, char *, int, int)); static int patcomp __P((char *, char *, int)); /* Syntax error for when an integer argument was expected, but integer_expected_error (pch) test_syntax_error (_("%s: integer expression expected"), pch); static int static int int value, v2; static int int value, v2; * '-t' [int] * '-'(eq|ne|le|lt|ge|gt) * int ::= * positive and negative integers static int int value; static int int op; int r1, r2; static int int op, flags; intmax_t l, r; int expok; integer_expected_error (s); integer_expected_error (t); static int int op; int m; int int flags; int patmatch; static int int value; static int intmax_t r; int intmax_t r; return ((r == (int)r) && isatty ((int)r)); int int static int static int int value; static int int value; int int margc; int value; int code;