develooper Front page | perl.perl5.changes | Postings from February 2021

[Perl/perl5] 74a633: Create DEBUG macro for when two flags must beset

From:
Karl Williamson via perl5-changes
Date:
February 11, 2021 19:49
Subject:
[Perl/perl5] 74a633: Create DEBUG macro for when two flags must beset
Message ID:
Perl/perl5/push/refs/heads/blead/4c3e54-74a633@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 74a633732bb2fa89da9fce2abbb063e3ab92ebea
      https://github.com/Perl/perl5/commit/74a633732bb2fa89da9fce2abbb063e3ab92ebea
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  Create DEBUG macro for when two flags must be set

There are some debugging statements that should only be displayed when
two flags are set; so far the v flag and another.  This commit creates
a macro for that purpose that saves a conditional (at least when
unoptimized) over the previous way to do it.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About