diff options
author | Branislav ZahradnĂk <barney@cpan.org> | 2020-12-11 17:19:19 +0100 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-12-27 09:46:09 -0700 |
commit | 77b0379fd3a3996b0a75681463aed636ae780ca8 (patch) | |
tree | a74de7e132a8b4572bf1b44e19d9d67d7930d21b /toke.c | |
parent | d02b2fbf99fe056004dcc6ba704fd2846d208bb0 (diff) | |
download | perl-77b0379fd3a3996b0a75681463aed636ae780ca8.tar.gz |
Distinguish C- and perly- literals - PERLY_SLASH
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -402,6 +402,7 @@ static struct debug_tokens { DEBUG_TOKEN (IVAL, PERLY_PLUS), DEBUG_TOKEN (IVAL, PERLY_QUESTION_MARK), DEBUG_TOKEN (IVAL, PERLY_SEMICOLON), + DEBUG_TOKEN (IVAL, PERLY_SLASH), DEBUG_TOKEN (IVAL, PERLY_SNAIL), DEBUG_TOKEN (IVAL, PERLY_STAR), DEBUG_TOKEN (IVAL, PERLY_TILDE), @@ -2608,7 +2609,7 @@ S_sublex_done(pTHX) + PL_parser->herelines; PL_parser->herelines = 0; } - return '/'; + return PERLY_SLASH; } else { const line_t l = CopLINE(PL_curcop); |