mirror of
https://github.com/janet-lang/janet
synced 2025-12-04 15:48:09 +00:00
More windows shenanigans with jpm.
Cannot remove open file, get rid of double rm.
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
|
||||
# Using a large test grammar
|
||||
|
||||
(def- core-env (table/getproto (fiber/getenv (fiber/current))))
|
||||
(def- specials {'fn true
|
||||
'var true
|
||||
'do true
|
||||
@@ -41,7 +40,7 @@
|
||||
(defn capture-sym
|
||||
[text]
|
||||
(def sym (symbol text))
|
||||
[(if (or (core-env sym) (specials sym)) :coresym :symbol) text])
|
||||
[(if (or (root-env sym) (specials sym)) :coresym :symbol) text])
|
||||
|
||||
(def grammar
|
||||
~{:ws (set " \v\t\r\f\n\0")
|
||||
|
||||
Reference in New Issue
Block a user