Skip to content

Make macros accept idents where atom value is a valid ident - #296

Merged
nicoburns merged 2 commits into
mainfrom
ident-macro-arms
Sep 5, 2025
Merged

Make macros accept idents where atom value is a valid ident#296
nicoburns merged 2 commits into
mainfrom
ident-macro-arms

Conversation

@nicoburns

Copy link
Copy Markdown
Contributor

This means that local_name!(html) will work as well as local_name!("html").
If the atom value is something like foo-bar then local_name!("foo-bar") will work but local_name!(foo-bar) wont because foo-bar is not a valid ident.

This means that local_name!(html) will work as well
as local_name!("html")
Signed-off-by: Nico Burns <nico@nicoburns.com>
jdm
jdm approved these changes Sep 5, 2025
Signed-off-by: Nico Burns <nico@nicoburns.com>
@nicoburns
nicoburns added this pull request to the merge queueSep 5, 2025
@nicoburns
nicoburns removed this pull request from the merge queue due to a manual request Sep 5, 2025
@nicoburnsnicoburns changed the title Make macros accept idents where atom is a valid atomMake macros accept idents where atom value is a valid identSep 5, 2025
@nicoburns
nicoburns added this pull request to the merge queueSep 5, 2025
Merged via the queue into main with commit 533b64eSep 5, 2025
5 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@nicoburns@jdm