1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-29 03:19:54 +00:00

Fix typo flie

This commit is contained in:
Josef Pospíšil 2020-03-31 15:31:27 +02:00
parent 417d9a14cc
commit b6b70d54ef

View File

@ -2586,22 +2586,22 @@
(print "#define JANET_BUILD \"" janet/build "\"") (print "#define JANET_BUILD \"" janet/build "\"")
(print ```#define JANET_AMALG```) (print ```#define JANET_AMALG```)
(defn do-one-flie (defn do-one-file
[fname] [fname]
(print "\n/* " fname " */") (print "\n/* " fname " */")
(print "#line 0 \"" fname "\"\n") (print "#line 0 \"" fname "\"\n")
(def source (slurp fname)) (def source (slurp fname))
(print (string/replace-all "\r" "" source))) (print (string/replace-all "\r" "" source)))
(do-one-flie feature-header) (do-one-file feature-header)
(print ```#include "janet.h"```) (print ```#include "janet.h"```)
(each h local-headers (each h local-headers
(do-one-flie h)) (do-one-file h))
(each s core-sources (each s core-sources
(do-one-flie s)) (do-one-file s))
# Create C source file that contains images a uint8_t buffer. This # Create C source file that contains images a uint8_t buffer. This
# can be compiled and linked statically into the main janet library # can be compiled and linked statically into the main janet library