Skip to content

Commit

Permalink
Removing newline hiding hack form semgrep grammer (added to tree-sitt…
Browse files Browse the repository at this point in the history
…er for now). (#515)
  • Loading branch information
maxmysten authored Oct 10, 2024
1 parent dbb53fe commit 208d243
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lang/semgrep-grammars/src/semgrep-move-on-sui/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ module.exports = grammar(base_grammar, {
$.ellipsis,
),

newline: ($, previous) => choice(),

field_access_ellipsis_expr: $ => prec.left(FIELD_PREC, seq(
field('element', $._dot_or_index_chain), '.',$.ellipsis )),

Expand Down
2 changes: 1 addition & 1 deletion lang/semgrep-grammars/src/tree-sitter-move-on-sui

0 comments on commit 208d243

Please sign in to comment.