mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
Update generating tools to produce stylish code.
Really small whitespace changes in generated code.
This commit is contained in:
parent
c022a1cf1a
commit
cb002e7b84
@ -36,7 +36,7 @@
|
||||
(def str (string ;(interpose ", " (map (partial string/format "0x%.2X") line))))
|
||||
(file/write image-file " " str ",\n"))
|
||||
(file/write image-file
|
||||
"0};\n\n"
|
||||
" 0\n};\n\n"
|
||||
"const unsigned char *janet_core_image = janet_core_image_bytes;\n"
|
||||
"size_t janet_core_image_size = sizeof(janet_core_image_bytes);\n")
|
||||
(file/close image-file))
|
||||
|
@ -73,7 +73,7 @@ int main(int argc, const char **argv) {
|
||||
if (lineIndex++ == 0) {
|
||||
if (line++)
|
||||
fputc(',', out);
|
||||
fputs("\n\t", out);
|
||||
fputs("\n ", out);
|
||||
} else {
|
||||
fputs(", ", out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user