summaryrefslogtreecommitdiff
blob: e47a14369d8ccb43437c98b132fb349c6164e6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00147.html

*** ../bash-4.0/parse.y	2009-01-08 08:29:12.000000000 -0500
--- parse.y	2009-02-22 16:08:54.000000000 -0500
***************
*** 3307,3311 ****
  
        /* Meta-characters that can introduce a reserved word.  Not perfect yet. */
!       if MBTEST((tflags & LEX_RESWDOK) == 0 && (tflags & LEX_CKCASE) && (tflags & LEX_INCOMMENT) == 0 && shellmeta(ch))
  	{
  	  /* Add this character. */
--- 3307,3311 ----
  
        /* Meta-characters that can introduce a reserved word.  Not perfect yet. */
!       if MBTEST((tflags & LEX_PASSNEXT) == 0 && (tflags & LEX_RESWDOK) == 0 && (tflags & LEX_CKCASE) && (tflags & LEX_INCOMMENT) == 0 && shellmeta(ch))
  	{
  	  /* Add this character. */