From 31a07195dd196e2a2984ab673c07b19dfcb46ed2 Mon Sep 17 00:00:00 2001 From: Ravikiran Chollangi Date: Sat, 30 Nov 2024 17:58:20 -0800 Subject: [PATCH] Revert "For EDA 3310" (#1720) * Revert "For EDA 3310 (#1718)" This reverts commit 9683da905e4384895adedbde7668d6fc958667e0. * Incremented patch version --------- Co-authored-by: ravikiranchollangi --- src/Compiler/Compiler.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/Compiler/Compiler.cpp b/src/Compiler/Compiler.cpp index 807458e28..9b812fe5a 100644 --- a/src/Compiler/Compiler.cpp +++ b/src/Compiler/Compiler.cpp @@ -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 += " "; }