mirror of https://github.com/janet-lang/janet
Don't use peg for patch tool.
This commit is contained in:
parent
781ed0dc67
commit
6720b34868
|
@ -1,3 +1,3 @@
|
||||||
# Patch janet.h
|
# Patch janet.h
|
||||||
(def [_ janeth janetconf output] (dyn :args))
|
(def [_ janeth janetconf output] (dyn :args))
|
||||||
(spit output (peg/replace `#include "janetconf.h"` (slurp janetconf) (slurp janeth)))
|
(spit output (string/replace `#include "janetconf.h"` (slurp janetconf) (slurp janeth)))
|
||||||
|
|
Loading…
Reference in New Issue