summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorChris Nandor <pudge@pobox.com>2001-02-12 19:02:43 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-13 14:22:50 +0000
commit084592ab0b76f3cbd4d089afb08ccea7ba1c9dd8 (patch)
tree8a175b8128ee3a57f4f96b96a3290adb0eb07399 /toke.c
parent67127a85e86d9ef67c9a136224ffce237c7df32b (diff)
downloadperl-084592ab0b76f3cbd4d089afb08ccea7ba1c9dd8.tar.gz
buncha MacPerl patches for bleadperl
Message-Id: <p05010404b6ae6f85e07a@[10.0.1.177]> p4raw-id: //depot/perl@8792
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/toke.c b/toke.c
index 72e6f41a51..fd93c80416 100644
--- a/toke.c
+++ b/toke.c
@@ -472,7 +472,7 @@ S_incline(pTHX_ char *s)
s += 4;
else
return;
- if (*s == ' ' || *s == '\t')
+ if (SPACE_OR_TAB(*s))
s++;
else
return;
@@ -2115,9 +2115,6 @@ S_find_in_my_stash(pTHX_ char *pkgname, I32 len)
*/
#ifdef USE_PURE_BISON
-#ifdef __SC__
-#pragma segment Perl_yylex_r
-#endif
int
Perl_yylex_r(pTHX_ YYSTYPE *lvalp, int *lcharp)
{
@@ -7460,6 +7457,9 @@ Perl_start_subparse(pTHX_ I32 is_format, U32 flags)
return oldsavestack_ix;
}
+#ifdef __SC__
+#pragma segment Perl_yylex
+#endif
int
Perl_yywarn(pTHX_ char *s)
{
@@ -7548,6 +7548,9 @@ Perl_yyerror(pTHX_ char *s)
PL_in_my_stash = Nullhv;
return 0;
}
+#ifdef __SC__
+#pragma segment Main
+#endif
STATIC char*
S_swallow_bom(pTHX_ U8 *s)