summaryrefslogtreecommitdiff
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-07 14:16:42 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-07 14:16:42 +0100
commit366dcd3abf4987b020eac49e1947086be3214cc3 (patch)
tree30cb6ae9455fcc84ab74f72d78aa172d0d94a35c /passes
parentf4f230d7cc0b0f4fec228d1292e79b11b86160e4 (diff)
Fixed use of "cmd_error" in passes/cmds/design.cc
Diffstat (limited to 'passes')
-rw-r--r--passes/cmds/design.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/design.cc b/passes/cmds/design.cc
index c28a3a49..80a6c073 100644
--- a/passes/cmds/design.cc
+++ b/passes/cmds/design.cc
@@ -128,7 +128,7 @@ struct DesignPass : public Pass {
if (copy_from_design != NULL)
{
if (copy_from_design != design && argidx == args.size())
- cmd_error(args, argidx, "Missing selection.\n");
+ cmd_error(args, argidx, "Missing selection.");
RTLIL::Selection sel = design->selection_stack.back();
if (argidx != args.size()) {
@@ -151,7 +151,7 @@ struct DesignPass : public Pass {
extra_args(args, argidx, design, false);
if (!got_mode)
- cmd_error(args, argidx, "Missing mode argument (-reset, -save, -load, -copy-from, or -copy-to).\n");
+ cmd_error(args, argidx, "Missing mode argument (-reset, -save, -load, -copy-from, or -copy-to).");
if (copy_to_design != NULL)
{