mirror of
https://github.com/janet-lang/janet
synced 2025-11-30 22:08:05 +00:00
Add parser/insert and bump to 0.4.0
This commit is contained in:
@@ -1393,12 +1393,14 @@ value, one key will be ignored."
|
||||
where
|
||||
" around byte "
|
||||
(string (parser/where p))
|
||||
(or (parser/error p) "unmatched delimiter")))
|
||||
": "
|
||||
(or (parser/error p) "unmatched delimiter")
|
||||
"\n"))
|
||||
|
||||
(defn bad-compile
|
||||
"Default handler for a compile error."
|
||||
[msg macrof where]
|
||||
(file/write stderr msg " while compiling " where "\n")
|
||||
(file/write stderr "compile error: " msg " while compiling " where "\n")
|
||||
(when macrof (debug/stacktrace macrof)))
|
||||
|
||||
(defn getline
|
||||
|
||||
Reference in New Issue
Block a user