aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2015-05-19 15:49:39 -0400
committerTom Powell <zifnab@zifnab06.net>2015-10-08 20:52:52 -0700
commit78d794f0304859d1356b7eb345c46b880222da18 (patch)
tree9933fc7a66e8b339021ec21ae0e3763ad6ec9dd7 /parse.y
parent5a7b5f98629fed19c9706a4505e6112ce2e01393 (diff)
downloadandroid_external_bash-78d794f0304859d1356b7eb345c46b880222da18.tar.gz
android_external_bash-78d794f0304859d1356b7eb345c46b880222da18.tar.bz2
android_external_bash-78d794f0304859d1356b7eb345c46b880222da18.zip
Bash-4.3 patch 38
Change-Id: I7860fb20707e81f0ad9f0d32320ace37750f9500
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y7
1 files changed, 6 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 92b58ce..b887a89 100644
--- a/parse.y
+++ b/parse.y
@@ -2818,11 +2818,16 @@ time_command_acceptable ()
case AND_AND:
case OR_OR:
case '&':
+ case WHILE:
case DO:
+ case UNTIL:
+ case IF:
case THEN:
+ case ELIF:
case ELSE:
case '{': /* } */
- case '(': /* ) */
+ case '(': /* )( */
+ case ')': /* only valid in case statement */
case BANG: /* ! time pipeline */
case TIME: /* time time pipeline */
case TIMEOPT: /* time -p time pipeline */