summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-10-14 03:46:24 +0000
committerSteve Peters <steve@fisharerojo.org>2005-10-14 03:46:24 +0000
commit0d46e09a6299ee39ec954683a582d25f5ea086c7 (patch)
tree308ac72e3d80a80d27e1d0b18bbbaca691de50f9 /toke.c
parent6d24ed100318c05343c5524872a98bee8e2fcca4 (diff)
downloadperl-0d46e09a6299ee39ec954683a582d25f5ea086c7.tar.gz
gcc complains when it sees variables declared
const register ... switched them all to register const ... p4raw-id: //depot/perl@25757
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index cf81ce855b..890e6815e9 100644
--- a/toke.c
+++ b/toke.c
@@ -1170,7 +1170,7 @@ S_tokeq(pTHX_ SV *sv)
STATIC I32
S_sublex_start(pTHX)
{
- const register I32 op_type = yylval.ival;
+ register const I32 op_type = yylval.ival;
if (op_type == OP_NULL) {
yylval.opval = PL_lex_op;