projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed44134
)
Using RTLIL::id2cstr for prompt printing
author
Clifford Wolf
<clifford@clifford.at>
Fri, 29 Nov 2013 10:55:18 +0000
(11:55 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 29 Nov 2013 10:55:18 +0000
(11:55 +0100)
kernel/driver.cc
patch
|
blob
|
history
diff --git
a/kernel/driver.cc
b/kernel/driver.cc
index 83374c4be132ad2ec6966557f4528dbc229c78a0..6aa54bfb80ae18c26f00113e1e7803e34da31b6d 100644
(file)
--- 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 += "*";