Skip to content

Commit

Permalink
TODO comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Sep 30, 2023
1 parent 1bc3116 commit 35c6859
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ static void parseSubcommandOptions(PtContext &ctx, int argc, char *const *argv)
ctx.compilerConfig.transparencyColor = parseRgbColor(ctx.err, TRANSPARENCY_COLOR, optarg);
break;
case DEFAULT_BEHAVIOR_VAL:
// TODO : finish implementing the -defaultBehavior logic
ctx.compilerConfig.defaultBehavior = std::string{optarg};
break;

Expand Down Expand Up @@ -932,7 +933,6 @@ static void parseSubcommandOptions(PtContext &ctx, int argc, char *const *argv)
if (ctx.subcommand == Subcommand::COMPILE_PRIMARY || ctx.subcommand == Subcommand::COMPILE_SECONDARY) {
die(ctx.err, "Errors generated during command line parsing. Compilation terminated.");
}
// TODO : when more commands are added, change this logic
die(ctx.err, "Errors generated during command line parsing. Decompilation terminated.");
}
}
Expand Down
1 change: 0 additions & 1 deletion src/driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,6 @@ static void driveCompile(PtContext &ctx)
* set to have a different behavior map than the paired primary, so the user does not need to specify this header in
* the secondary set source.
*/
// TODO : this should handle either reading the header from the source folder, or reading it from the CLI
std::unordered_map<std::string, std::uint8_t> behaviorMap{};
std::unordered_map<std::uint8_t, std::string> behaviorReverseMap{};
if (std::filesystem::exists(ctx.compilerSrcPaths.metatileBehaviors)) {
Expand Down

0 comments on commit 35c6859

Please sign in to comment.