develooper Front page | perl.perl5.porters | Postings from July 2019

[PATCH] Add parse_subsignature() parser function

Thread Next
From:
Paul "LeoNerd" Evans
Date:
July 11, 2019 21:02
Subject:
[PATCH] Add parse_subsignature() parser function
Message ID:
20190711220208.4994aaea@shy.leonerd.org.uk
These two patches implement a new API function for XS modules to use to
parse signatures, as part of a subroutine definition. I will make use
of this in Future-AsyncAwait in order to parse signatures in such cases
as

  async sub func($x, $y) { ... }

This should solve both of:

  https://rt.perl.org/Public/Bug/Display.html?id=132474

  https://rt.cpan.org/Ticket/Display.html?id=123465

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Next


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