develooper Front page | perl.perl5.porters | Postings from February 2013

Re: New EBCDIC branch available

Thread Previous
Karl Williamson
February 27, 2013 06:00
Re: New EBCDIC branch available
Message ID:
On 02/26/2013 10:21 PM, Karl Williamson wrote:
>>    It looks like the macro expasion split the array  pPL_e2utf across 2
>>     lines, and also inserted a couple of parenthesis.  It happened right
>>     at offset 2048, so it seems we're hitting another 2K limit, however
>>     I'm doing some research to verify this.
>>     Has this been experienced on any other platforms?
> I don't see what that array is included so many times, and will have to
> look at it tomorrow.  That array is not used on other platforms.

I looked at it a little more, and though mind boggling, it appears to be 
a correct expansion split at or about the 2048 byte position.  I don't 
see any extra parentheses.  The whole expression is balanced.

The various PL_ arrays with "2" in their names are because a lot of 
EBCDIC handling is defined in terms of ASCII, and these convert between 
the 2 encodings.

If there were some way to up the limit beyond 2048, that would be the 
easiest thing for us.

Otherwise, for EBCDIC, or for all platforms, we could turn the longest 
macros into inline functions.  It would be nice to know which others 
exceed the limit.  If your make has a -k flag, that would help see what 
other problems there are.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About