Skip to content

Commit

Permalink
chore: Update grammars (#597)
Browse files Browse the repository at this point in the history
Done with:

```sh
bin/update-grammars.sh
```

Some test baselines were updated because grammars were updated.
  • Loading branch information
afnanenayet committed Apr 1, 2023
1 parent 2c526aa commit eacb4b1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion grammars/tree-sitter-cpp
2 changes: 1 addition & 1 deletion grammars/tree-sitter-php
8 changes: 4 additions & 4 deletions tests/snapshots/regression_test__tests__medium_cpp_false.snap
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ RichHunks(
row: 43,
column: 4,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (43, 7) - (43, 9)},
Expand Down Expand Up @@ -152,7 +152,7 @@ RichHunks(
row: 44,
column: 4,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (44, 7) - (44, 9)},
Expand Down Expand Up @@ -183,7 +183,7 @@ RichHunks(
row: 45,
column: 4,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (45, 7) - (45, 9)},
Expand Down Expand Up @@ -214,7 +214,7 @@ RichHunks(
row: 46,
column: 4,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (46, 7) - (46, 9)},
Expand Down
24 changes: 12 additions & 12 deletions tests/snapshots/regression_test__tests__medium_cpp_true.snap
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ RichHunks(
row: 43,
column: 5,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (43, 4) - (43, 7)},
Expand All @@ -134,7 +134,7 @@ RichHunks(
row: 43,
column: 6,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (43, 4) - (43, 7)},
Expand All @@ -147,7 +147,7 @@ RichHunks(
row: 43,
column: 7,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (43, 7) - (43, 9)},
Expand Down Expand Up @@ -191,7 +191,7 @@ RichHunks(
row: 44,
column: 5,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (44, 4) - (44, 7)},
Expand All @@ -204,7 +204,7 @@ RichHunks(
row: 44,
column: 6,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (44, 4) - (44, 7)},
Expand All @@ -217,7 +217,7 @@ RichHunks(
row: 44,
column: 7,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (44, 7) - (44, 9)},
Expand Down Expand Up @@ -261,7 +261,7 @@ RichHunks(
row: 45,
column: 5,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (45, 4) - (45, 7)},
Expand All @@ -274,7 +274,7 @@ RichHunks(
row: 45,
column: 6,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (45, 4) - (45, 7)},
Expand All @@ -287,7 +287,7 @@ RichHunks(
row: 45,
column: 7,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (45, 7) - (45, 9)},
Expand Down Expand Up @@ -331,7 +331,7 @@ RichHunks(
row: 46,
column: 5,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (46, 4) - (46, 7)},
Expand All @@ -344,7 +344,7 @@ RichHunks(
row: 46,
column: 6,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node namespace_identifier (46, 4) - (46, 7)},
Expand All @@ -357,7 +357,7 @@ RichHunks(
row: 46,
column: 7,
},
kind_id: 440,
kind_id: 441,
},
Entry {
reference: {Node :: (46, 7) - (46, 9)},
Expand Down

0 comments on commit eacb4b1

Please sign in to comment.