summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorBranislav ZahradnĂ­k <barney@cpan.org>2020-12-11 17:19:12 +0100
committerKarl Williamson <khw@cpan.org>2020-12-27 09:46:09 -0700
commit5776f3e52dc3d9bddaadfc7c058c4e18589018b3 (patch)
tree2e83f1b7587c11a73c7774010f2dd4d3bc367dec /toke.c
parent68a66a8beadf6521143536cc70b76b1127b141e7 (diff)
downloadperl-5776f3e52dc3d9bddaadfc7c058c4e18589018b3.tar.gz
Distinguish C- and perly- literals - PERLY_PLUS
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 65ed54058b..594672de81 100644
--- a/toke.c
+++ b/toke.c
@@ -397,6 +397,7 @@ static struct debug_tokens {
DEBUG_TOKEN (IVAL, PERLY_EQUAL_SIGN),
DEBUG_TOKEN (IVAL, PERLY_EXCLAMATION_MARK),
DEBUG_TOKEN (IVAL, PERLY_MINUS),
+ DEBUG_TOKEN (IVAL, PERLY_PLUS),
DEBUG_TOKEN (IVAL, PERLY_QUESTION_MARK),
DEBUG_TOKEN (IVAL, PERLY_SEMICOLON),
DEBUG_TOKEN (IVAL, PERLY_TILDE),
@@ -5680,7 +5681,7 @@ yyl_plus(pTHX_ char *s)
else {
if (isSPACE(*s) || !isSPACE(*PL_bufptr))
check_uni();
- OPERATOR('+');
+ OPERATOR(PERLY_PLUS);
}
}