Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "For EDA 3310" #1720

Merged
merged 2 commits into from
Dec 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions src/Compiler/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -940,20 +940,8 @@ bool Compiler::RegisterCommands(TclInterpreter* interp, bool batchMode) {
return TCL_ERROR;
}
std::string opts;
bool read_init_registers = false;
for (int i = 1; i < argc; i++) {
std::string opt = argv[i];
if (opt == "-read_init_registers") {
read_init_registers = true;
}
if (read_init_registers) {
if (opt != "2" && opt != "1" && opt != "0") {
compiler->ErrorMessage("read_init_registers must be 0, 1, or 2");
return TCL_ERROR;
}
read_init_registers = false;
}
opts += opt;
opts += std::string(argv[i]);
if (i < (argc - 1)) {
opts += " ";
}
Expand Down
Loading