From 1b3a60976d0f74791277515cfad20dc7e37e1b9a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 29 Nov 2013 11:55:18 +0100 Subject: [PATCH] Using RTLIL::id2cstr for prompt printing --- kernel/driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/driver.cc b/kernel/driver.cc index 83374c4be..6aa54bfb8 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -209,7 +209,7 @@ static const char *create_prompt(RTLIL::Design *design, int recursion_counter) str += stringf("(%d) ", recursion_counter); str += "yosys"; if (!design->selected_active_module.empty()) - str += stringf(" [%s]", design->selected_active_module.c_str()); + str += stringf(" [%s]", RTLIL::id2cstr(design->selected_active_module)); if (!design->selection_stack.back().full_selection) { if (design->selected_active_module.empty()) str += "*"; -- 2.30.2