summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-08-09 21:54:08 +0000
committerSteve Peters <steve@fisharerojo.org>2006-08-09 21:54:08 +0000
commitd3fcec1f5f130b835b047ac0302818509dc560b9 (patch)
treee9eb93ca5c44ba7e51942e74da212b910675ae87 /toke.c
parent8f42a9ec3299cd50ce2bd4c01cf806c12d9fb96d (diff)
downloadperl-d3fcec1f5f130b835b047ac0302818509dc560b9.tar.gz
A couple const's and a cast to get Sun CC to compile these files.
Perl, however, still will not build with the Sun CC. p4raw-id: //depot/perl@28686
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 03bc68249e..a1bd2c4fd7 100644
--- a/toke.c
+++ b/toke.c
@@ -11414,7 +11414,7 @@ S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims)
{
dVAR;
SV *sv; /* scalar value: string */
- char *tmps; /* temp string, used for delimiter matching */
+ const char *tmps; /* temp string, used for delimiter matching */
register char *s = start; /* current position in the buffer */
register char term; /* terminating character */
register char *to; /* current position in the sv's data */