diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-02 16:48:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-02 16:48:26 +0000 |
commit | 8fa7f3676ed75809365905727fbae97dc8767f29 (patch) | |
tree | 2c626750a9a8493a188833eb82d96b24e79fa03f /regcomp.c | |
parent | a126002e7fdcd66f0996dbe9b5b1c2d7960cf31b (diff) | |
download | perl-8fa7f3676ed75809365905727fbae97dc8767f29.tar.gz |
-Wall cleanup continues.
p4raw-id: //depot/perl@10392
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -4175,10 +4175,11 @@ S_regcurly(pTHX_ register char *s) } +#ifdef DEBUGGING + STATIC regnode * S_dumpuntil(pTHX_ regnode *start, regnode *node, regnode *last, SV* sv, I32 l) { -#ifdef DEBUGGING register U8 op = EXACT; /* Arbitrary non-END op. */ register regnode *next; @@ -4244,10 +4245,11 @@ S_dumpuntil(pTHX_ regnode *start, regnode *node, regnode *last, SV* sv, I32 l) else if (op == WHILEM) l--; } -#endif /* DEBUGGING */ return node; } +#endif /* DEBUGGING */ + /* - regdump - dump a regexp onto Perl_debug_log in vaguely comprehensible form */ @@ -4328,6 +4330,8 @@ Perl_regdump(pTHX_ regexp *r) #endif /* DEBUGGING */ } +#ifdef DEBUGGING + STATIC void S_put_byte(pTHX_ SV *sv, int c) { @@ -4339,6 +4343,8 @@ S_put_byte(pTHX_ SV *sv, int c) Perl_sv_catpvf(aTHX_ sv, "%c", c); } +#endif /* DEBUGGING */ + /* - regprop - printable representation of opcode */ |