diff options
author | 2019-11-08 23:52:14 +0100 | |
---|---|---|
committer | 2019-11-08 23:52:14 +0100 | |
commit | 88f702b416ba9eb930e6c1e932124d5f24b1a24c (patch) | |
tree | 955f3047b79156d7b2bbab55fcbd4fbc94661f1d /src/lib/netlist/plib/ptokenizer.h | |
parent | 731c4fe52073a7a7561bf04559e9f0b3b791388d (diff) |
netlist: code maintenance and bug fixes. (nw)
- comment style migration continues.
- Fixed a two bugs in the truthtable ignore inputs code
- refactored the truthtable code a bit for better readability.
- updated netlist specific gitignore.
Diffstat (limited to 'src/lib/netlist/plib/ptokenizer.h')
-rw-r--r-- | src/lib/netlist/plib/ptokenizer.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/netlist/plib/ptokenizer.h b/src/lib/netlist/plib/ptokenizer.h index b6f8411eaa3..66365bcc017 100644 --- a/src/lib/netlist/plib/ptokenizer.h +++ b/src/lib/netlist/plib/ptokenizer.h @@ -1,13 +1,13 @@ // license:GPL-2.0+ // copyright-holders:Couriersud -/* - * ptokenizer.h - * - */ #ifndef PTOKENIZER_H_ #define PTOKENIZER_H_ +/// +/// \file ptokenizer.h +/// + #include "plists.h" #include "pstream.h" #include "pstring.h" @@ -94,7 +94,7 @@ namespace plib { pstring currentline_str(); - /* tokenizer stuff follows ... */ + // tokenizer stuff follows ... token_t get_token(); pstring get_string(); @@ -147,7 +147,7 @@ namespace plib { pstring::const_iterator m_px; pstring::value_type m_unget; - /* tokenizer stuff follows ... */ + // tokenizer stuff follows ... pstring m_identifier_chars; pstring m_number_chars; @@ -160,11 +160,12 @@ namespace plib { token_id_t m_tok_comment_end; token_id_t m_tok_line_comment; - /* source locations, vector used as stack because we need to loop through stack */ + // source locations, vector used as stack because we need to loop through stack + bool m_support_line_markers; std::vector<plib::source_location> m_source_location; }; } // namespace plib -#endif /* PTOKENIZER_H_ */ +#endif // PTOKENIZER_H_ |