js-on-sx: lexer rejects bare backslash in source
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 38s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 38s
This commit is contained in:
@@ -680,6 +680,8 @@
|
||||
(do (js-emit! "op" "^" start) (advance! 1)))
|
||||
((= ch "~")
|
||||
(do (js-emit! "op" "~" start) (advance! 1)))
|
||||
((= ch "\\")
|
||||
(error "Unexpected char '\\' in source"))
|
||||
(else (advance! 1)))))
|
||||
(define
|
||||
scan!
|
||||
|
||||
Reference in New Issue
Block a user