diff --git a/src/main.cpp b/src/main.cpp index 2108732..aac8a13 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -88,7 +88,9 @@ std::ostream& logo(std::ostream& out) { << "repo : https://gitee.com/valkmjolnir/Nasal-Interpreter\n" << "wiki : https://wiki.flightgear.org/Nasal_scripting_language\n" << "\n" - << "presented by fgprc members - http://fgprc.org.cn\n" + << "presented by fgprc members\n" + << " - fgprc : http://fgprc.org\n" + << " - fgprc.cn : http://fgprc.org.cn\n" << "\n" << "input to get help .\n\n"; return out; diff --git a/src/nasal_dbg.cpp b/src/nasal_dbg.cpp index 64d911c..cc1bc9c 100644 --- a/src/nasal_dbg.cpp +++ b/src/nasal_dbg.cpp @@ -13,7 +13,7 @@ void operand_line_counter::load_file_line_counter( file_name_list = file_list; file_line_counter = {}; file_contents = {}; - flstream fs; + filestream fs; for(usize i =0; i res; public: - flstream(): file("") {} + filestream(): file("") {} void load(const std::string&); const std::string& operator[](usize n) const {return res[n];} const auto& name() const {return file;} @@ -43,7 +43,7 @@ public: usize size() const {return res.size();} }; -class error: public flstream { +class error: public filestream { private: u32 cnt; // counter for errors diff --git a/src/nasal_misc.cpp b/src/nasal_misc.cpp index 13f7f30..77da7dc 100644 --- a/src/nasal_misc.cpp +++ b/src/nasal_misc.cpp @@ -105,7 +105,7 @@ const char* get_platform() { } else if (is_macos()) { return "macOS"; } - return "unknown platform"; + return "unknown"; } const char* get_arch() { @@ -126,7 +126,7 @@ const char* get_arch() { } else if (is_superh()) { return "superh"; } - return "unknown arch"; + return "unknown"; } f64 hex_to_f64(const char* str) {