bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG:


From: arnold
Subject: Re: BUG:
Date: Mon, 05 Jul 2021 07:54:35 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Hi.

Thank you for submitting a bug report.

This is fixed in the current code base.  I hope to make a new
release in the near future; if you need this working right away
you can build from the git repo.  Let me know if you need instructions.

Thanks!

Arnold

Wilhelm Horrix <wilhelm.horrix@gmail.com> wrote:

> Command line below using namespace awk::
>
> echo hello | gawk '{ awk::xx = awk::xx == 1 ? 0 : 3; print awk::xx }'
> gawk: cmd. line:1: (FILENAME=- FNR=1) fatal: internal error line 225,
> file: interpret.h
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>                                                                       BUG
>
>                            VERSION
>
> VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
>
> gawk --version
> GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)
> Copyright (C) 1989, 1991-2019 Free Software Foundation.
>
> This program is free software; you can redistribute it and/or modify
> it under the terms of the GNU General Public License as published by
> the Free Software Foundation; either version 3 of the License, or
> (at your option) any later version.
>
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU General Public License for more details.
>
> You should have received a copy of the GNU General Public License
> along with this program. If not, see http://www.gnu.org/licenses/.
> ------------------------------works fine
> !!!!--------------------------------------------------------
>  echo hello | gawk '{ gawk::xx = gawk::xx == 1 ? 0 : 3; print gawk::xx }'
> 3
> echo hello | gawk '{ mawk::xx = mawk::xx == 1 ? 0 : 3; print mawk::xx }'
> 3
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]