summaryrefslogtreecommitdiff
blob: cd516e5c66c52dde566e9ea135c019685540a450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
https://lists.gnu.org/archive/html/bug-bash/2014-06/msg00034.html

*** ../bash-4.3-patched/parse.y	2014-04-07 11:56:12.000000000 -0400
--- parse.y	2014-06-11 10:25:53.000000000 -0400
***************
*** 2789,2797 ****
      case OR_OR:
      case '&':
      case DO:
      case THEN:
      case ELSE:
      case '{':		/* } */
!     case '(':		/* ) */
      case BANG:		/* ! time pipeline */
      case TIME:		/* time time pipeline */
--- 2789,2802 ----
      case OR_OR:
      case '&':
+     case WHILE:
      case DO:
+     case UNTIL:
+     case IF:
      case THEN:
+     case ELIF:
      case ELSE:
      case '{':		/* } */
!     case '(':		/* )( */
!     case ')':		/* only valid in case statement */
      case BANG:		/* ! time pipeline */
      case TIME:		/* time time pipeline */