[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BUG:
From: |
Wilhelm Horrix |
Subject: |
BUG: |
Date: |
Mon, 5 Jul 2021 06:53:41 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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