From ce612896a88be5a2cd6887f0ad569901fcbe0926 Mon Sep 17 00:00:00 2001 From: couriersud Date: Fri, 27 Sep 2019 22:30:33 +0200 Subject: netlist: Fix a number of minor issues. (nw) - lint warnings - remove const on return types --- src/lib/netlist/plib/pparser.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib/netlist/plib/pparser.cpp') 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) -- cgit v1.2.3-70-g09d2