@willbooster/tree-sitter-python 22.0.0 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/grammar.js CHANGED
@@ -31,7 +31,8 @@ const PREC = {
31
31
  times: 19,
32
32
  unary: 20,
33
33
  power: 21,
34
- call: 22,
34
+ await: 22,
35
+ call: 23,
35
36
  };
36
37
 
37
38
  const SEMICOLON = ';';
@@ -1016,7 +1017,7 @@ module.exports = grammar({
1016
1017
  false: () => 'False',
1017
1018
  none: () => 'None',
1018
1019
 
1019
- await: ($) => prec(PREC.unary, seq('await', $.primary_expression)),
1020
+ await: ($) => prec(PREC.await, seq('await', $.primary_expression)),
1020
1021
 
1021
1022
  comment: () => token(seq('#', /[^\r\n]*/)),
1022
1023
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-python",
3
- "version": "22.0.0",
3
+ "version": "23.0.0",
4
4
  "description": "Python grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "parsing",
Binary file
package/tree-sitter.json CHANGED
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "metadata": {
16
- "version": "22.0.0",
16
+ "version": "23.0.0",
17
17
  "license": "MIT",
18
18
  "description": "Python grammar for tree-sitter",
19
19
  "authors": [