1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-24 22:26:52 +00:00

Don't use peg for patch tool.

This commit is contained in:
Calvin Rose 2020-11-18 19:37:18 -06:00
parent 781ed0dc67
commit 6720b34868

View File

@ -1,3 +1,3 @@
# Patch janet.h
(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)))