尝试UTF32String
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <Ast/astBase.hpp>
|
||||
#include <Error/error.hpp>
|
||||
#include <Error/errorLog.hpp>
|
||||
#include <Core/fig_string.hpp>
|
||||
#include <Core/String.hpp>
|
||||
#include <Repl/Repl.hpp>
|
||||
#include <vector>
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace Fig
|
||||
{
|
||||
ostream << getPrompt() << "\n";
|
||||
|
||||
const FString &sourcePath = u8"<stdin>";
|
||||
const std::vector<FString> &sourceLines{};
|
||||
const String &sourcePath = U"<stdin>";
|
||||
const std::vector<String> &sourceLines{};
|
||||
|
||||
Evaluator evaluator;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Fig
|
||||
while (true)
|
||||
{
|
||||
ostream << "\r\n>>";
|
||||
const FString &line = readline();
|
||||
const String &line = readline();
|
||||
|
||||
if (line.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user