aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-05-22 06:11:32 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-05-22 06:11:32 +0300
commitcb3db09270b4caaddb0d606ec892841c149698eb (patch)
tree7d9ec7403ae2f90730258199ccbf5fd7c3c2dc91 /interpret.h
parent931074569ea4a92ac2eddb19745a518f1f697193 (diff)
downloadegawk-cb3db09270b4caaddb0d606ec892841c149698eb.tar.gz
egawk-cb3db09270b4caaddb0d606ec892841c149698eb.tar.bz2
egawk-cb3db09270b4caaddb0d606ec892841c149698eb.zip
Allow any redirected getline inside BEGINFILE/ENDFILE.
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h4
1 files changed, 0 insertions, 4 deletions
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;