Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a64a1b916a4d7dc71f19c660f970fb7e942c2735
      
https://github.com/Perl/perl5/commit/a64a1b916a4d7dc71f19c660f970fb7e942c2735
  Author: Dagfinn Ilmari Mannsåker <[email protected]>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M builtin.c

  Log Message:
  -----------
  builtin.c: Fix C++ compilation errors

C++ does not allow `goto` across initalisations of variables that are
in scope at the label, so just get rid of the `goto`.

An alternative would be to start a new scope after the first `goto`,
so that the variables aren't in scope any more at the label, but I
think this is neater.


Reply via email to