From 7ed51509ec2f9a06ff7c02f8a63b99dce512a3d1 Mon Sep 17 00:00:00 2001 From: lyon Date: Sun, 15 Oct 2023 16:08:03 +0800 Subject: [PATCH] fix module list format --- src/PikaCompiler.c | 2 +- src/PikaVersion.h | 2 +- tools/pikaCompiler/src/version_info.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PikaCompiler.c b/src/PikaCompiler.c index d7dab6356..43297d8bd 100644 --- a/src/PikaCompiler.c +++ b/src/PikaCompiler.c @@ -1156,7 +1156,7 @@ PIKA_RES pikaMaker_compileModuleWithList(PikaMaker* self, char* list_content) { char* module_name = NULL; char* module_name_start = list_content; char* module_name_end = NULL; - pika_platform_printf(" \n"); + pika_platform_printf(" \r\n"); while (1) { module_name_end = strFind(module_name_start, '\n'); if (NULL == module_name_end) { diff --git a/src/PikaVersion.h b/src/PikaVersion.h index cd3c6f199..ea7c8ed3c 100644 --- a/src/PikaVersion.h +++ b/src/PikaVersion.h @@ -2,4 +2,4 @@ #define PIKA_VERSION_MINOR 12 #define PIKA_VERSION_MICRO 6 -#define PIKA_EDIT_TIME "2023/10/09 21:25:14" +#define PIKA_EDIT_TIME "2023/10/15 16:07:56" diff --git a/tools/pikaCompiler/src/version_info.rs b/tools/pikaCompiler/src/version_info.rs index 64d340987..749a62cb1 100644 --- a/tools/pikaCompiler/src/version_info.rs +++ b/tools/pikaCompiler/src/version_info.rs @@ -29,7 +29,7 @@ impl VersionInfo { /* print the package info */ if self.plot { // print line with \r\n - print!("{}{}", line, "\r\n"); + print!(" {}{}", line, "\r\n"); } // Check if line contains '='