Fix problem with syntaxing of DO.
authorChris Hanson <org/chris-hanson/cph>
Sun, 20 Oct 2019 05:41:51 +0000 (22:41 -0700)
committerChris Hanson <org/chris-hanson/cph>
Sun, 20 Oct 2019 05:41:51 +0000 (22:41 -0700)
commit69fe6b8c0de2e7c2edd29c4331e24e0c054773f6
treead8adb4638fc57a5cf399959f157194bdb55a353
parentb16cb5a8dc35e2ff2b5df0ede4026a2ad44a7b8f
Fix problem with syntaxing of DO.

This wouldn't work correctly in some weird edge cases.  Specifically, it was
trying to detect the 'else and '=> keywords, but comparing them in the syntactic
environment outside of the DO, not the one inside of it.  Fixed by rewriting the
macro to defer the cond-clause processing until the interior environment was
available.
src/runtime/mit-macros.scm
src/runtime/runtime.pkg
src/runtime/syntax-constructor.scm