Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 82943faa9f6f51aebb7960cc8eee73dd44c024e4
      
https://github.com/Perl/perl5/commit/82943faa9f6f51aebb7960cc8eee73dd44c024e4
  Author: Karl Williamson <k...@cpan.org>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M gv.c
    M gv.h
    M hv.c
    M op.c
    M pad.c
    M pad.h
    M pp.c
    M pp_ctl.c
    M pp_sys.c
    M regcomp.c
    M regexec.c
    M scope.c

  Log Message:
  -----------
  Convert '!!' to cBOOL()

I believe the '!!' is somewhat obscure; I for one didn't know about it
for years of programming C, and it was buggy in one compiler, which is why
cBOOL was created, I believe.  And it is graphically dense, and
generally harder to read than the cBOOL() construct.

This commit dates from before we moved to C99 where we can simply cast
to (bool), and cBOOL() has been rewritten to do that.  But the vast
majority of code uses cBOOL(), and this commit brings the remainder of
the core .[ch] files into uniformity.


Reply via email to