From ce3642afc30a9873b80834fe1d7a3c5e86d98a28 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 8 Feb 2017 00:27:07 -0800 Subject: [PATCH] Fix typo in previous change. --- src/runtime/chrset.scm | 57 +++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/src/runtime/chrset.scm b/src/runtime/chrset.scm index e2db46da6..3984dd191 100644 --- a/src/runtime/chrset.scm +++ b/src/runtime/chrset.scm @@ -609,35 +609,34 @@ USA. ;;;; Scheme language: (define (symbol-constituent? sv) - (lambda (sv) - (case sv - ;; #\" #\# #\' #\, #\; #\\ #\` #\| - ((#x22 #x23 #x27 #x2c #x3b #x5c #x60 #x7c) #f) - ((#x200C #x200D) #t) - (else - (case (unicode-code-point-general-category sv) - ((letter:uppercase - letter:lowercase - letter:titlecase - letter:modifier - letter:other - mark:nonspacing - number:letter - number:other - punctuation:connector - punctuation:dash - punctuation:other - symbol:math - symbol:currency - symbol:modifier - symbol:other - other:private-use) - #t) - ((mark:spacing-combining - mark:enclosing - number:decimal-digit) - 'subsequent-only) - (else #f)))))) + (case sv + ;; #\" #\# #\' #\, #\; #\\ #\` #\| + ((#x22 #x23 #x27 #x2c #x3b #x5c #x60 #x7c) #f) + ((#x200C #x200D) #t) + (else + (case (unicode-code-point-general-category sv) + ((letter:uppercase + letter:lowercase + letter:titlecase + letter:modifier + letter:other + mark:nonspacing + number:letter + number:other + punctuation:connector + punctuation:dash + punctuation:other + symbol:math + symbol:currency + symbol:modifier + symbol:other + other:private-use) + #t) + ((mark:spacing-combining + mark:enclosing + number:decimal-digit) + 'subsequent-only) + (else #f))))) (define-deferred char-set:symbol-constituent (compute-char-set symbol-constituent?)) -- 2.25.1