mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	Update generating tools to produce stylish code.
Really small whitespace changes in generated code.
This commit is contained in:
		| @@ -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); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose