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
1 changed files with 1 additions and 1 deletions

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)))