aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-expand.cc
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-12-18 21:07:04 +0800
committerSimplyTheOther <simplytheother@gmail.com>2020-12-18 21:07:04 +0800
commitf764eeb8abf1ec50794ddb1f31bc57d025e29a3c (patch)
treeedee12ce380362c51141a9d472f4abfa5509a4ce /gcc/rust/expand/rust-macro-expand.cc
parent0496b05eafd154500ec473e5ea26353dffd5cf79 (diff)
downloadgcc-f764eeb8abf1ec50794ddb1f31bc57d025e29a3c.zip
gcc-f764eeb8abf1ec50794ddb1f31bc57d025e29a3c.tar.gz
gcc-f764eeb8abf1ec50794ddb1f31bc57d025e29a3c.tar.bz2
Unified representation of macro invocation internal data - will be better for processing
Diffstat (limited to 'gcc/rust/expand/rust-macro-expand.cc')
-rw-r--r--gcc/rust/expand/rust-macro-expand.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/rust/expand/rust-macro-expand.cc b/gcc/rust/expand/rust-macro-expand.cc
index ed0069e..53b2851 100644
--- a/gcc/rust/expand/rust-macro-expand.cc
+++ b/gcc/rust/expand/rust-macro-expand.cc
@@ -3553,6 +3553,12 @@ public:
}
};
+AST::Literal
+MacroExpander::expand_cfg_macro (AST::MacroInvocData &invoc)
+{
+ return AST::Literal::create_error ();
+}
+
void
MacroExpander::expand_invoc (std::unique_ptr<AST::MacroInvocation> &invoc)
{