diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2003-04-07 22:43:17 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-08 19:19:34 +0000 |
commit | 27308ded152a902d86f6f5763883d26b257e257a (patch) | |
tree | dd0b65da726bf4bdf33a5738a2972b6f9a5d0d20 | |
parent | 2fde0ff06cfbce5bef48ed08a204260616fb0a3f (diff) | |
download | perl-27308ded152a902d86f6f5763883d26b257e257a.tar.gz |
(vaguely connected with) [perl #21875] Hash ref transformed as a list
Message-ID: <20030407204317.GA8796@fdgroup.com>
The new XTERMORDORDOR lexer expectation must also be named
in debugging perls, to be used in the output of -DT.
p4raw-id: //depot/perl@19169
-rw-r--r-- | perl.h | 1 | ||||
-rw-r--r-- | toke.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3182,6 +3182,7 @@ typedef enum { XATTRTERM, XTERMBLOCK, XTERMORDORDOR /* evil hack */ + /* update exp_name[] in toke.c if adding to this enum */ } expectation; enum { /* pass one of these to get_vtbl */ @@ -2141,7 +2141,7 @@ S_find_in_my_stash(pTHX_ char *pkgname, I32 len) #ifdef DEBUGGING static char* exp_name[] = { "OPERATOR", "TERM", "REF", "STATE", "BLOCK", "ATTRBLOCK", - "ATTRTERM", "TERMBLOCK" + "ATTRTERM", "TERMBLOCK", "TERMORDORDOR" }; #endif |