From 9324220c4186a5a9b25065e881aeffb02ab3d72a Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 24 Dec 2007 01:45:42 +0000 Subject: [PATCH] --- ase/awk/parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ase/awk/parse.c b/ase/awk/parse.c index 4a455141..dd8e9d68 100644 --- a/ase/awk/parse.c +++ b/ase/awk/parse.c @@ -2416,7 +2416,8 @@ static ase_awk_nde_t* parse_relational (ase_awk_t* awk, ase_size_t line) { TOKEN_EOF, 0 } }; - return parse_binary_expr (awk, line, map, parse_shift); + return parse_binary_expr (awk, line, map, + ((awk->option & ASE_AWK_SHIFT)? parse_shift: parse_concat)); } static ase_awk_nde_t* parse_shift (ase_awk_t* awk, ase_size_t line) @@ -4611,7 +4612,7 @@ static int get_token (ase_awk_t* awk) { ADD_TOKEN_CHAR (awk, c); GET_CHAR_TO (awk, c); - if ((awk->option & ASE_AWK_SHIFT) && c == ASE_T('>')) + if (c == ASE_T('>')) { SET_TOKEN_TYPE (awk, TOKEN_RSHIFT); ADD_TOKEN_CHAR (awk, c);