bug-gawk
[Top][All Lists]
Advanced

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

for-in FUNCTAB


From: Denis Shirokov
Subject: for-in FUNCTAB
Date: Thu, 29 Oct 2020 13:50:04 +0200

hello

found the following issue:

BEGIN{

      PROCINFO[ "sorted_in" ] = "sort"

      for ( i in FUNCTAB )

            print i "'" }

func  sort( i1, v1, i2, v2 ) {

      return 1 }

gawk: ./er.gwk:5: fatal: internal error line 1338, file: eval.c

the issue isn't occure if PROCINFO[ "sorted_in" ] isn't set to call
user-defined function.
issue occure only with FUNCTAB array.

GNU Awk 5.1.0, API: 3.0 (GNU MPFR 3.1.5, GNU MP 6.1.2)
Copyright (C) 1989, 1991-2020 Free Software Foundation.

Windows 10x64

Kind Regards
Denis

Attachment: er.gwk
Description: Binary data


reply via email to

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