diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-27 09:28:49 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-27 09:28:49 +0800 |
commit | cfce816b251f4ba19c3fcc3ac53467c1a1159552 (patch) | |
tree | d3dd7acd85fe4280f7b541f17ed688cca32bd086 /src/macro_rules/macro_rules.hpp | |
parent | 81195b7af639389d7810956efce664c1f545fce8 (diff) | |
download | mrust-cfce816b251f4ba19c3fcc3ac53467c1a1159552.tar.gz |
macro_rules - Update logic for determining if a loop should be expanded
Diffstat (limited to 'src/macro_rules/macro_rules.hpp')
-rw-r--r-- | src/macro_rules/macro_rules.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/macro_rules/macro_rules.hpp b/src/macro_rules/macro_rules.hpp index 550068b8..ddf11dcb 100644 --- a/src/macro_rules/macro_rules.hpp +++ b/src/macro_rules/macro_rules.hpp @@ -31,7 +31,8 @@ TAGGED_UNION_EX(MacroExpansionEnt, (: public Serialisable), Token, ( /// Token used to join iterations
Token joiner;
/// List of variables within this loop that control its iteration count
- ::std::set< unsigned int> variables;
+ /// Boolean is true if the variable will be unconditionally expanded
+ ::std::map< unsigned int, bool> variables;
})
),
(),
|