Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3f8c4d7479702f0eb269a85fecd74f47120b00f0
      
https://github.com/Perl/perl5/commit/3f8c4d7479702f0eb269a85fecd74f47120b00f0
  Author: Karl Williamson <k...@cpan.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M numeric.c
    M perl.h

  Log Message:
  -----------
  grok_bin_oct_hex: Add two output flags

This commit adds two output flags returned from this function to the one
previously existing, so that the caller can be informed of the problems
found and take its own action.

This involves the behavior of two existing flags, whose being set
suppresses the warning if particular conditions exist in the input being
parsed.  Both flags were currently always cleared upon return.

One of those flags is non-public.  I changed it so that it isn't cleared
upon return if the condition it describes is found.

The other flag is public.  I thought that some existing code, though
unlikely,  might be relying on the flag being always cleared.  So I
added a completely new flag from a previously unused bit that, if clear
on input there is no change in behavior; but if set on input, it will
remain set on output if the condition is met; otherwise cleared.  The
only code that could possibly be affected is that which sets this unused
bit, but expects it to be cleared after the return.  This is very
unlikely.


  Commit: 17d6187b6af20688dcba5e3c84165e99d9c4c1ce
      
https://github.com/Perl/perl5/commit/17d6187b6af20688dcba5e3c84165e99d9c4c1ce
  Author: Karl Williamson <k...@cpan.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M numeric.c

  Log Message:
  -----------
  numeric.c: White-space only

Indent code that the previous commit added an enclosing block
surrounding it.

And vertically align some comments


Compare: https://github.com/Perl/perl5/compare/d2b59011c8b7...17d6187b6af2

Reply via email to