diff options
author | 2020-08-10 18:24:27 +0200 | |
---|---|---|
committer | 2020-08-10 18:31:34 +0200 | |
commit | 9809a7b9910b282ef2a83413ea34c8567d494eb6 (patch) | |
tree | ed30eb8099ca27ce140dfa936f6ca74a127b0209 /src/lib/netlist/nl_parser.h | |
parent | 66439cc0b43c1b9ed60923c751fc5d5025cc658d (diff) |
netlist: align naming of files within the macro folder.
* Use a consistent naming scheme. This is a preparational step towards
improved parsing performance.
Diffstat (limited to 'src/lib/netlist/nl_parser.h')
-rw-r--r-- | src/lib/netlist/nl_parser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/netlist/nl_parser.h b/src/lib/netlist/nl_parser.h index e4308786e3a..c552663af6a 100644 --- a/src/lib/netlist/nl_parser.h +++ b/src/lib/netlist/nl_parser.h @@ -11,6 +11,8 @@ #include "nltypes.h" // for setup_t #include "plib/ptokenizer.h" +#include <unordered_map> + namespace netlist { class parser_t : public plib::ptoken_reader @@ -75,6 +77,9 @@ namespace netlist plib::ptokenizer m_tokenizer; nlparse_t &m_setup; + + std::unordered_map<pstring, token_store> m_local; + token_store *m_cur_local; }; } // namespace netlist |