diff options
author | 2022-05-21 17:16:50 +0200 | |
---|---|---|
committer | 2022-05-22 01:16:50 +1000 | |
commit | 324f9d44d5c4293645e7bb8f42e7d95d5ac1e604 (patch) | |
tree | 1ad2d66458486f184e11536e247309eb6c0161fb /src/lib/netlist/nl_parser.cpp | |
parent | b33946d980772bf8e973b3816684f313a5b4e9ea (diff) |
netlist: More c++, less macros, added support for cspell (#9794)
- More c++, less macros
* Significantly reduced the use of unused_var and replaced it with
[[maybe_unused]]
* use enum class in ppmf.h
- Changes to testing code in ptest.h
* Catch exceptions in more places
* The verbosity of the output can now be controlled
* Display of test stats totals
- added support for cspell
- fixed various typos
- fixed SUBTARGET=nl build
- fixed more file permissions
- srcclean and add fix_permissions target to netlist makefile
Diffstat (limited to 'src/lib/netlist/nl_parser.cpp')
-rw-r--r-- | src/lib/netlist/nl_parser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/netlist/nl_parser.cpp b/src/lib/netlist/nl_parser.cpp index 0716d5bbfc2..cbca285718e 100644 --- a/src/lib/netlist/nl_parser.cpp +++ b/src/lib/netlist/nl_parser.cpp @@ -576,9 +576,8 @@ bool source_token_t::parse(nlparse_t &setup, const pstring &name) return false; } -plib::istream_uptr source_token_t::stream(const pstring &name) +plib::istream_uptr source_token_t::stream([[maybe_unused]] const pstring &name) { - plib::unused_var(name); return plib::istream_uptr(); } |