A minor tweak for LexPerl.
(b) Removed the dynamic array here too.
(a) Added a missing symbol (the underscore) for subroutine prototypes. A careful reading of [1] revealed that the _ is a symbol too. LexPerl.cxx is attached. Subroutine prototypes was introduced in 5.14. Future issue => However, the prototype attribute for subroutines introduced in 5.20 breaks the lexing, though it's not a huge problem. That will be an update for another day.
Example found in bytes/heavy.pl:
sub length (_) { BEGIN { bytes::import() } return CORE::length($_[0]); }
Looks reasonable. Committed as [ba8926].
Related
Commit: [ba8926]