mirror of
https://github.com/open-goal/jak-project
synced 2026-06-07 03:58:11 -04:00
lint: formatting
This commit is contained in:
@@ -115,7 +115,8 @@ void Compiler::read_eval_print(std::string input) {
|
||||
if (!input.empty()) {
|
||||
code = m_goos.reader.read_from_string(input);
|
||||
} else {
|
||||
// if this is pulled out into a function....illegal instruction on checking the debugger? strange
|
||||
// if this is pulled out into a function....illegal instruction on checking the debugger?
|
||||
// strange
|
||||
std::string prompt = fmt::format(fmt::emphasis::bold | fg(fmt::color::cyan), "g > ");
|
||||
if (m_listener.is_connected()) {
|
||||
prompt = fmt::format(fmt::emphasis::bold | fg(fmt::color::lime_green), "gc> ");
|
||||
|
||||
+2
-1
@@ -92,7 +92,8 @@ int main(int argc, char** argv) {
|
||||
} else {
|
||||
ReplStatus status = ReplStatus::WANT_RELOAD;
|
||||
while (status == ReplStatus::WANT_RELOAD) {
|
||||
compiler = std::make_unique<Compiler>(nrepl_port, username, std::make_unique<ReplWrapper>());
|
||||
compiler =
|
||||
std::make_unique<Compiler>(nrepl_port, username, std::make_unique<ReplWrapper>());
|
||||
status = compiler->execute_repl(auto_listen, auto_debug);
|
||||
if (status == ReplStatus::WANT_RELOAD) {
|
||||
fmt::print("Reloading compiler...\n");
|
||||
|
||||
Reference in New Issue
Block a user