HS: sourceInfo 4/4 + arrayLiteral 8/8 (+5 tests)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 17s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 17s
- tokenizer hs-emit!: add :end (max pos, start+len(val)) and :line fields to tokens - parser hs-parse-ast: wrap fn body in do so set! hs-span-mode executes - runtime hs-make-object: remove _order key (V8 native insertion order sufficient)
This commit is contained in:
@@ -2999,6 +2999,7 @@
|
||||
|
||||
(define hs-parse-ast
|
||||
(fn (src)
|
||||
(set! hs-span-mode true)
|
||||
(let ((result (hs-parse (hs-tokenize src) src)))
|
||||
(do (set! hs-span-mode false) result))))
|
||||
(do
|
||||
(set! hs-span-mode true)
|
||||
(let ((result (hs-parse (hs-tokenize src) src)))
|
||||
(do (set! hs-span-mode false) result)))))
|
||||
|
||||
Reference in New Issue
Block a user