Skip to content

Commit

Permalink
remove w from size field since it clashes with %w in golang
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Dec 3, 2024
1 parent 60d50a2 commit 39d4227
Show file tree
Hide file tree
Showing 7 changed files with 517 additions and 132 deletions.
3 changes: 2 additions & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ module.exports = grammar({
'I',
'I32',
'I64',
'w',
// this clashes with fmt.Errorf %w in golang
// 'w',
))),

_text: _ => prec(-1, /[^%]+/)
Expand Down
5 changes: 1 addition & 4 deletions src/grammar.json

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

1 change: 1 addition & 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 39d4227

Please sign in to comment.