aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-10-04 16:41:21 +0100
committerArun Isaac2024-10-04 16:56:03 +0100
commitc88a98e93832d2b8d4ba89c953e606e05e9321d6 (patch)
tree00c3caf75703694d72a571286a3652f70dbaa100
parent4684aa83a64bbd2acf2f8c861d897f2c7c6ce135 (diff)
downloadravanan-c88a98e93832d2b8d4ba89c953e606e05e9321d6.tar.gz
ravanan-c88a98e93832d2b8d4ba89c953e606e05e9321d6.tar.lz
ravanan-c88a98e93832d2b8d4ba89c953e606e05e9321d6.zip
javascript: Remove "alternating" from tokenizing docstring.
tokenize-parameter-references need not return an "alternating" sequence of tokens. There can be consecutive parameter reference tokens or literal strings. * ravanan/javascript.scm (tokenize-parameter-references): Remove "alternating" from docstring.
-rw-r--r--ravanan/javascript.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/ravanan/javascript.scm b/ravanan/javascript.scm
index 46160b3..ad65828 100644
--- a/ravanan/javascript.scm
+++ b/ravanan/javascript.scm
@@ -106,8 +106,7 @@ The returned value is maybe-monadic. If @var{expression} fails to parse,
(#f %nothing)))
(define (tokenize-parameter-references str)
- "Split @var{str} into alternating tokens of parameter reference and literal
-strings."
+ "Split @var{str} into tokens of parameter reference and literal strings."
(let ((end (if (string-prefix? "$(" str)
(1+ (string-index str #\)))
(string-index str #\$))))