Skip to content

Commit

Permalink
feat: support __asm in asm expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Aug 16, 2024
1 parent 0f16583 commit 77e57f5
Show file tree
Hide file tree
Showing 4 changed files with 18,867 additions and 18,167 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ module.exports = grammar({
)),

gnu_asm_expression: $ => prec(PREC.CALL, seq(
choice('asm', '__asm__'),
choice('asm', '__asm__', '__asm'),
repeat($.gnu_asm_qualifier),
'(',
field('assembly_code', $._string),
Expand Down
4 changes: 4 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 77e57f5

Please sign in to comment.