[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Assertion failed: pc->target_jmp != NULL, file interpret.h, line 446
From: |
Denis Shirokov |
Subject: |
Assertion failed: pc->target_jmp != NULL, file interpret.h, line 446 |
Date: |
Sat, 25 Dec 2021 03:13:33 +0200 |
# Hi GAWK Team!
#
# asertion failed :) ...
BEGIN{
continue } # or break
# Assertion failed: pc->target_jmp != NULL, file interpret.h, line 446
#
# GNU Awk 5.1.1, API: 3.1 (GNU MPFR 4.0.2, GNU MP 6.1.2)
#
# Windows 10x64
# i found it when i try to 'continue' or 'break' from inside a function
# that is called from areas that are appropriated for 'continue' or 'break'
# statements (meaning: switch-case area and all types of gawk's loops)
#
# the interest question is: is it possible if user may for example breaks
# the loop that is implemented somewhere else? please see the following
# example for better understanding what exactly i meaning:
BEGIN{
while ( 1 )
callfn() }
func callfn() {
break } # 'break' statement successfully breaks loop
# located in BEGIN area
# best Regards
#
# Denis Shirokov
- Assertion failed: pc->target_jmp != NULL, file interpret.h, line 446,
Denis Shirokov <=