Fix orchestration.sx parse error, add parser line/col diagnostics

The parser was reporting "Unexpected char: )" with no position info.
Added line number, column, and byte position to all parse errors.

Root cause: bind-sse-swap had one extra close paren that naive paren
counting missed because a "(" exists inside a string literal on L1074
(starts-with? trimmed "("). Parse-aware counting (skipping strings
and comments) correctly identified the imbalance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 15:29:28 +00:00
parent f0f16d24bc
commit ebbdec8f4c
4 changed files with 159 additions and 82 deletions

View File

@@ -1084,7 +1084,7 @@
(with-transition use-transition
(fn ()
(swap-html-string target trimmed swap-style)
(post-swap target)))))))))
(post-swap target))))))))
;; --------------------------------------------------------------------------

File diff suppressed because one or more lines are too long