check-whitespace ( str1 str2 -- )


Vocabulary
help.lint.checks

Inputs
str1an object
str2an object


Outputs
None

Definition


: check-whitespace ( str1 str2 -- )
2dup [ ?last " (" member? ] [ ?first " ).,;:" member? ] bi*
or
[ 2drop ] [
"Missing whitespace between strings ``%s'' and ``%s''"
sprintf simple-lint-error
] if ;