diff options
| author | 2020-07-28 20:42:27 +0200 | |
|---|---|---|
| committer | 2020-07-28 20:42:30 +0200 | |
| commit | 09e987486a38e9e9f94e468b77f4cd7f4aa5259c (patch) | |
| tree | f6d507252ab4c41e3610a050d0ea09b41781d421 /src/lib/netlist/nl_setup.cpp | |
| parent | c00cbad238a86afd03dcc458b679737530d067c3 (diff) | |
netlist: necessary changes towards runtime processing of macro directory
Diffstat (limited to 'src/lib/netlist/nl_setup.cpp')
| -rw-r--r-- | src/lib/netlist/nl_setup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/nl_setup.cpp b/src/lib/netlist/nl_setup.cpp index e6424649149..e399d5c28a9 100644 --- a/src/lib/netlist/nl_setup.cpp +++ b/src/lib/netlist/nl_setup.cpp @@ -110,7 +110,7 @@ namespace netlist //break; } pstring output_name = *ptok; - log().debug("Link: {1} {2}\n", tp, output_name); + log().debug("Link: {1} {2}", tp, output_name); register_link(name + "." + tp.substr(1), output_name); ++ptok; @@ -118,7 +118,7 @@ namespace netlist else if (plib::startsWith(tp, "@")) { pstring term = tp.substr(1); - log().debug("Link: {1} {2}\n", tp, term); + log().debug("Link: {1} {2}", tp, term); register_link(name + "." + term, term); } @@ -353,7 +353,7 @@ namespace netlist bool nlparse_t::parse_stream(plib::psource_t::stream_ptr &&istrm, const pstring &name) { auto y = std::make_unique<plib::ppreprocessor>(m_includes, &m_defines); - y->process(std::move(istrm)); + y->process(std::move(istrm), "<stream>"); return parser_t(std::move(y), *this).parse(name); //return parser_t(std::move(plib::ppreprocessor(&m_defines).process(std::move(istrm))), *this).parse(name); } |
