aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
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 0572583a..e2e0d6b7 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;