diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-25 22:04:38 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-25 22:04:38 +0800 |
commit | e7dfda0f39c3d89eaa17c5329a62d2faaa053cfa (patch) | |
tree | 85de7d5dbeb0ace41ee974dc4ccaabbb2381762c /src/macro_rules/macro_rules.hpp | |
parent | 36e197f903ba19229b35cdd7c5bea045ca34dcdc (diff) | |
download | mrust-e7dfda0f39c3d89eaa17c5329a62d2faaa053cfa.tar.gz |
Parse - Allow loading modules from macro invocations
Diffstat (limited to 'src/macro_rules/macro_rules.hpp')
-rw-r--r-- | src/macro_rules/macro_rules.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macro_rules/macro_rules.hpp b/src/macro_rules/macro_rules.hpp index 7f93edf9..265ea73a 100644 --- a/src/macro_rules/macro_rules.hpp +++ b/src/macro_rules/macro_rules.hpp @@ -22,6 +22,7 @@ class MacroExpander; TAGGED_UNION_EX(MacroExpansionEnt, (: public Serialisable), Token, (
// TODO: have a "raw" stream instead of just tokens
(Token, Token),
+ // TODO: Have a flag on `NamedValue` that indicates that it is the only/last usage of this particular value (at this level)
// NOTE: This is a 2:30 bitfield - with the high range indicating $crate
(NamedValue, unsigned int),
(Loop, struct {
|