summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pparser.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-09-27 22:30:33 +0200
committer couriersud <couriersud@gmx.org>2019-09-27 22:30:33 +0200
commitce612896a88be5a2cd6887f0ad569901fcbe0926 (patch)
tree64460ba27223208369461613938bfc9cf7119ed6 /src/lib/netlist/plib/pparser.cpp
parent28192a5a65e6bc9d143ab8ccb64589e414847a94 (diff)
netlist: Fix a number of minor issues. (nw)
- lint warnings - remove const on return types
Diffstat (limited to 'src/lib/netlist/plib/pparser.cpp')
-rw-r--r--src/lib/netlist/plib/pparser.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/netlist/plib/pparser.cpp b/src/lib/netlist/plib/pparser.cpp
index 2b365f22811..e567fc6e5be 100644
--- a/src/lib/netlist/plib/pparser.cpp
+++ b/src/lib/netlist/plib/pparser.cpp
@@ -253,12 +253,6 @@ ptokenizer::token_t ptokenizer::get_token_internal()
}
}
-void ptokenizer::error(const pstring &errs)
-{
- verror(errs, currentline_no(), currentline_str());
- //throw error;
-}
-
// ----------------------------------------------------------------------------------------
// A simple preprocessor
// ----------------------------------------------------------------------------------------
@@ -423,7 +417,7 @@ pstring ppreprocessor::process_comments(pstring line)
return ret;
}
-pstring ppreprocessor::process_line(pstring line)
+pstring ppreprocessor::process_line(pstring line)
{
bool line_cont = plib::right(line, 1) == "\\";
if (line_cont)