It needs to be a variable!

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Camelid 2021-03-10 09:02:40 -08:00
parent 4b3490f64d
commit 4900836ab7

View File

@ -38,7 +38,7 @@ macro_rules! expand_group {
// So you probably just want to nip down to the end.
macro_rules! language_item_table {
(
$( $(#[attr:meta])* $variant:ident $($group:expr)?, $name:expr, $method:ident, $target:expr; )*
$( $(#[$attr:meta])* $variant:ident $($group:expr)?, $name:expr, $method:ident, $target:expr; )*
) => {
enum_from_u32! {
@ -48,7 +48,7 @@ macro_rules! language_item_table {
$(
#[doc = concat!("The `", stringify!($name), "` lang item.")]
///
$(#[attr])*
$(#[$attr])*
$variant,
)*
}