summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/ppreprocessor.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-07-28 20:41:48 +0200
committer couriersud <couriersud@gmx.org>2020-07-28 20:41:51 +0200
commit45713f390cefd502a8f0d21f6f844c54ddb9cb1a (patch)
tree4fd88d56c8d323082c1616f528aadde41ac34fd7 /src/lib/netlist/plib/ppreprocessor.h
parentaf3118d0f1848bfe5414ab94baed1b4edc2f7ea4 (diff)
netlist: fix a bug in preprocessor if and elif parsing.
Diffstat (limited to 'src/lib/netlist/plib/ppreprocessor.h')
-rw-r--r--src/lib/netlist/plib/ppreprocessor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/ppreprocessor.h b/src/lib/netlist/plib/ppreprocessor.h
index 467db358264..9758da6c8ac 100644
--- a/src/lib/netlist/plib/ppreprocessor.h
+++ b/src/lib/netlist/plib/ppreprocessor.h
@@ -139,7 +139,9 @@ namespace plib {
psource_collection_t<> &m_sources;
string_list m_expr_sep;
- std::uint_least64_t m_if_flag; // 31 if levels
+ std::uint_least64_t m_if_flag; // 63 if levels
+ std::uint_least64_t m_if_seen; // 63 if levels
+ std::uint_least64_t m_elif; // 63 if levels - for #elif
int m_if_level;
struct input_context