]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: proc_macro: Rename from_string callback symbol
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 26 Jul 2023 14:44:59 +0000 (16:44 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:56:01 +0000 (18:56 +0100)
commitb190aaeff7b4b6e3b96dfe0b5277ccc93ccb9973
tree6dc0bb34760f84cf0a836f1d379fea51b4cadbb5
parentde7e34bdd6c62294831d867188807216e186ed03
gccrs: proc_macro: Rename from_string callback symbol

The symbol had a different convention from rust standard naming
convention (?) hence the change before adding new callback.

gcc/rust/ChangeLog:

* expand/rust-proc-macro.cc (load_macros_array): Symbol rename.

libgrust/ChangeLog:

* libproc_macro/proc_macro.cc (Procmacro::make_bang):
Change symbol name.
* libproc_macro/registration.h: Likewise.
* libproc_macro/tokenstream.cc (TokenStream::make_tokenstream): Likewise.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/expand/rust-proc-macro.cc
libgrust/libproc_macro/proc_macro.cc
libgrust/libproc_macro/registration.h
libgrust/libproc_macro/tokenstream.cc