From 5104905ca0e45a6aca96dc9f629e2bdd5058b01b Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 25 Aug 2013 00:21:14 -0700 Subject: [PATCH] toke.c:scan_str: Document args in one spot and space for readability --- toke.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/toke.c b/toke.c index 165fb71..53f65c5 100644 --- a/toke.c +++ b/toke.c @@ -10356,11 +10356,15 @@ intro_sym: /* scan_str - takes: start position in buffer - keep_quoted preserve \ on the embedded delimiter(s) - keep_delims preserve the delimiters around the string - re_reparse compiling a run-time /(?{})/: - collapse // to /, and skip encoding src + takes: + start position in buffer + keep_quoted preserve \ on the embedded delimiter(s) + keep_delims preserve the delimiters around the string + re_reparse compiling a run-time /(?{})/: + collapse // to /, and skip encoding src + deprecate_escaped_meta issue a deprecation warning for cer- + tain paired metacharacters that appear + escaped within it returns: position to continue reading from buffer side-effects: multi_start, multi_close, lex_repl or lex_stuff, and updates the read buffer. @@ -10402,9 +10406,7 @@ intro_sym: STATIC char * S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims, int re_reparse, - bool deprecate_escaped_meta /* Should we issue a deprecation warning - for certain paired metacharacters that - appear escaped within it */ + bool deprecate_escaped_meta ) { dVAR; -- 2.7.4