summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2019-11-01 15:29:03 +0000
committerAaron Crane <arc@cpan.org>2019-11-04 10:36:14 +0000
commit1732dbbf48a1d3612227f954e22269000cc4cbf7 (patch)
treee59146506a199d4811b40083bd00b8eaaf5f09ac /toke.c
parent6a78cc121bdcba7c12e94c757eef6f3b472fca15 (diff)
downloadperl-1732dbbf48a1d3612227f954e22269000cc4cbf7.tar.gz
toke.c: const-ify formbrack parameters
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index 50b760ce9c..2a356e48c3 100644
--- a/toke.c
+++ b/toke.c
@@ -5855,7 +5855,7 @@ yyl_subproto(pTHX_ char *s, CV *cv)
}
static int
-yyl_leftcurly(pTHX_ char *s, U8 formbrack)
+yyl_leftcurly(pTHX_ char *s, const U8 formbrack)
{
char *d;
if (PL_lex_brackets > 100) {
@@ -6059,7 +6059,7 @@ yyl_leftcurly(pTHX_ char *s, U8 formbrack)
}
static int
-yyl_rightcurly(pTHX_ char *s, U8 formbrack)
+yyl_rightcurly(pTHX_ char *s, const U8 formbrack)
{
assert(s != PL_bufend);
s++;