Skip to content

Commit

Permalink
Remove 2nd const
Browse files Browse the repository at this point in the history
It was causing two build-time warnings.

Corrects patch originally submitted in
#18726.
  • Loading branch information
jkeenan committed May 17, 2021
1 parent 721aa92 commit 0f9dce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toke.c
Expand Up @@ -93,8 +93,8 @@ Individual members of C<PL_parser> have their own documentation.
(SvTYPE(sv) >= SVt_PVNV \
&& ((XPVIV*)SvANY(sv))->xiv_u.xivu_eval_seen)

static const char const ident_too_long[] = "Identifier too long";
static const char const ident_var_zero_multi_digit[] = "Numeric variables with more than one digit may not start with '0'";
static const char ident_too_long[] = "Identifier too long";
static const char ident_var_zero_multi_digit[] = "Numeric variables with more than one digit may not start with '0'";

# define NEXTVAL_NEXTTOKE PL_nextval[PL_nexttoke]

Expand Down

0 comments on commit 0f9dce5

Please sign in to comment.