aboutsummaryrefslogtreecommitdiff
path: root/libgrust
diff options
context:
space:
mode:
Diffstat (limited to 'libgrust')
-rw-r--r--libgrust/libproc_macro/proc_macro.cc2
-rw-r--r--libgrust/libproc_macro/registration.h2
-rw-r--r--libgrust/libproc_macro/tokenstream.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/libgrust/libproc_macro/proc_macro.cc b/libgrust/libproc_macro/proc_macro.cc
index effe717..a404691 100644
--- a/libgrust/libproc_macro/proc_macro.cc
+++ b/libgrust/libproc_macro/proc_macro.cc
@@ -51,4 +51,4 @@ Procmacro::make_bang (const char *name, BangMacro macro)
} // namespace ProcMacro
-ProcMacro::from_str_function_t __gccrs_pm_callback_from_str_fn = nullptr;
+ProcMacro::from_str_function_t __gccrs_proc_macro_from_str_fn = nullptr;
diff --git a/libgrust/libproc_macro/registration.h b/libgrust/libproc_macro/registration.h
index bba69b1..5cefc37 100644
--- a/libgrust/libproc_macro/registration.h
+++ b/libgrust/libproc_macro/registration.h
@@ -32,6 +32,6 @@ using from_str_function_t = ProcMacro::TokenStream (*) (std::string &, bool &);
} // namespace ProcMacro
-extern "C" ProcMacro::from_str_function_t __gccrs_pm_callback_from_str_fn;
+extern "C" ProcMacro::from_str_function_t __gccrs_proc_macro_from_str_fn;
#endif /* !REGISTRATION_H */
diff --git a/libgrust/libproc_macro/tokenstream.cc b/libgrust/libproc_macro/tokenstream.cc
index 5d9abb6..0f7f1f2 100644
--- a/libgrust/libproc_macro/tokenstream.cc
+++ b/libgrust/libproc_macro/tokenstream.cc
@@ -49,7 +49,7 @@ TokenStream::make_tokenstream (std::uint64_t capacity)
TokenStream
TokenStream::make_tokenstream (std::string &source, bool &has_error)
{
- return __gccrs_pm_callback_from_str_fn (source, has_error);
+ return __gccrs_proc_macro_from_str_fn (source, has_error);
}
void