[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-4.3 p42 Parser bug: for ((; 1<(1);)); do ...; done
From: |
Piotr Grzybowski |
Subject: |
Re: bash-4.3 p42 Parser bug: for ((; 1<(1);)); do ...; done |
Date: |
Mon, 30 May 2016 20:51:24 +0200 |
hi,
this is nonexistent in current devel at
814e1ff513ceca5d535b92f6c8dd9af7554fe83e so I would assume it fixed.
are you able to grab and build from devel branch to confirm?
cheers,
pg
On 30 May 2016, at 12:56, Sergey Tselikh wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-li$
> uname output: Linux ubuntu 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18
> 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> Machine Type: x86_64-pc-linux-gnu
>
> Bash Version: 4.3
> Patch Level: 42
> Release Status: release
>
> Description:
> "<(...)" construct triggers syntax error in "for ((...; ...; ...)); do ...;
> done" syntax.
>
> Repeat-By:
> $ for ((; 1<(1); )); do ...; done
> bash: syntax error near unexpected token `newline'
>
> compare behavior to (with space after "<"):
> $ for ((; 1< (1); )); do ...; done
>
> Fix: I don't have a fix, sorry.