From 2ce455acf7229b635cf7822063ac8c3f13d1ab80 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 20 Feb 2014 20:26:21 +0200 Subject: Remove a warning from interpret.h, update NEWS. --- interpret.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interpret.h') diff --git a/interpret.h b/interpret.h index ba70cf08..9243c892 100644 --- a/interpret.h +++ b/interpret.h @@ -1217,7 +1217,7 @@ match_re: ret = nextfile(& curfile, true); /* skip current file */ if (currule == BEGINFILE) { - long stack_size; + long stack_size = 0; ni = pop_exec_state(& currule, & source, & stack_size); -- cgit v1.2.3 From 69d85d51dfd0f2e3b464585633d270f06fa1e846 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 31 Mar 2014 22:17:13 +0300 Subject: Update copyright years on files changed in 2014. --- interpret.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interpret.h') diff --git a/interpret.h b/interpret.h index 9243c892..29feb821 100644 --- a/interpret.h +++ b/interpret.h @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2013 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2014 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. -- cgit v1.2.3 From cb3db09270b4caaddb0d606ec892841c149698eb Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 22 May 2014 06:11:32 +0300 Subject: Allow any redirected getline inside BEGINFILE/ENDFILE. --- interpret.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'interpret.h') diff --git a/interpret.h b/interpret.h index 29feb821..27f194ae 100644 --- a/interpret.h +++ b/interpret.h @@ -1098,10 +1098,6 @@ match_re: JUMPTO(ni); case Op_K_getline_redir: - if ((currule == BEGINFILE || currule == ENDFILE) - && pc->into_var == false - && pc->redir_type == redirect_input) - fatal(_("`getline' invalid inside `%s' rule"), ruletab[currule]); r = do_getline_redir(pc->into_var, pc->redir_type); PUSH(r); break; -- cgit v1.2.3