js-on-sx: lexer treats } as ending regex context
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 21s

This commit is contained in:
2026-05-09 07:01:11 +00:00
parent cb272317bc
commit dcde14a471
2 changed files with 3 additions and 1 deletions

View File

@@ -467,7 +467,7 @@
((ty (dict-get tk "type")) (vv (dict-get tk "value")))
(cond
((= ty "punct")
(and (not (= vv ")")) (not (= vv "]"))))
(and (not (= vv ")")) (not (= vv "]")) (not (= vv "}"))))
((= ty "op") true)
((= ty "keyword")
(contains?