diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-05 20:31:23 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-05 20:31:23 +0000 |
commit | 618b9757aa96db62da872255c9caeb6443086539 (patch) | |
tree | 4ffcbd40e46f844bae72d6530a1542a69da03059 /perl.h | |
parent | 5e7aa789c35577c2a092ac2f2d75bcee74e9b7f1 (diff) | |
download | perl-618b9757aa96db62da872255c9caeb6443086539.tar.gz |
PL_cshname is actually a constant value known at compile time.
PL_cshlen can be calculated by the compiler. So eliminate both as
interpreter variables, and the code that calculates PL_cshlen at
runtime.
p4raw-id: //depot/perl@32035
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -4113,6 +4113,12 @@ EXTCONST char PL_no_localize_ref[] EXTCONST char PL_memory_wrap[] INIT("panic: memory wrap"); +#ifdef CSH +EXTCONST char PL_cshname[] + INIT(CSH); +# define PL_cshlen (sizeof(CSH "") - 1) +#endif + EXTCONST char PL_uuemap[65] INIT("`!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"); |