jak-project/goalc/compiler
Matt Dallmeyer 2071c98b55
Fix cases of string formatting with non string literals (#3304)
The logger used in `goalc` tries to print an already-formatted string
`message` using `fmt::print(message);` Usually this doesn't cause
problems, but if you try to print, for example, an exception that has
special characters (notably `{`) it will try to do another round of
formatting/replacements, despite not having any args to replace with,
which ends up throwing another exception. This is why errors when
parsing custom level JSON cause the REPL to exit.

I've hopefully identified all the various instances of this across the
codebase
2024-01-14 12:02:08 +00:00
..
compilation Fix cases of string formatting with non string literals (#3304) 2024-01-14 12:02:08 +00:00
docs LSP: OpenGOAL Feature Support - Part 1 (#2668) 2023-05-21 17:24:23 -04:00
CodeGenerator.cpp [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
CodeGenerator.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
Compiler.cpp Fix cases of string formatting with non string literals (#3304) 2024-01-14 12:02:08 +00:00
Compiler.h [compiler] asm-only disasm output + fix spacing bug (#3104) 2023-10-29 10:16:14 +00:00
CompilerException.h split new pc features in some files into their own code files + address some old issues + ripple graphics improvements (#2216) 2023-02-13 21:39:14 +00:00
CompilerSettings.cpp [goalc] Cleaned up speedups (#3066) 2023-10-07 10:48:17 -04:00
CompilerSettings.h [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
ConstantValue.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Env.cpp [goalc] Cleaned up speedups (#3066) 2023-10-07 10:48:17 -04:00
Env.h [goalc] Cleaned up speedups (#3066) 2023-10-07 10:48:17 -04:00
IR.cpp misc low hanging fruit fixes (#3034) 2023-09-27 00:59:07 +01:00
IR.h [jak2] GOAL side texture animation stuff (#2766) 2023-06-24 10:11:47 -04:00
Label.h Add #pragma once to all headers 2020-09-13 21:36:35 -04:00
Lambda.h [goalc] Cleaned up speedups (#3066) 2023-10-07 10:48:17 -04:00
StaticObject.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
StaticObject.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
SymbolInfo.h docs: Automatically generate documentation from goal_src code (#2214) 2023-02-20 19:49:37 -05:00
Util.cpp Fix cases of string formatting with non string literals (#3304) 2024-01-14 12:02:08 +00:00
Val.cpp [jak 2] fix boot, increase level heap sizes (#2252) 2023-02-25 15:20:17 -05:00
Val.h [goalc] default to non-immediate lambdas if not requested (#2604) 2023-04-30 19:00:27 -04:00