Insert builtin#asm into asm! expansion

This commit is contained in:
Lukas Wirth 2023-09-05 13:28:41 +02:00
parent 15048304e3
commit 3431d586e5
13 changed files with 103 additions and 6 deletions

View file

@ -254,6 +254,7 @@ fn builtin_expr(p: &mut Parser<'_>) -> Option<CompletedMarker> {
} else if p.at_contextual_kw(T![asm]) {
p.bump_remap(T![asm]);
p.expect(T!['(']);
// FIXME: We just put expression here so highlighting kind of keeps working
expr(p);
p.expect(T![')']);
Some(m.complete(p, ASM_EXPR))