@willbooster/tree-sitter-c 37.0.0 → 38.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 +1 -1
- package/package.json +1 -1
- package/tree-sitter-c.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -2127,7 +2127,7 @@ module.exports = Object.assign(
|
|
|
2127
2127
|
update_expression: ($) => {
|
|
2128
2128
|
const argument = field('argument', $.expression);
|
|
2129
2129
|
const operator = field('operator', choice('--', '++'));
|
|
2130
|
-
return prec.right(PREC.UNARY,
|
|
2130
|
+
return choice(prec.right(PREC.UNARY, seq(operator, argument)), prec.left(PREC.CALL, seq(argument, operator)));
|
|
2131
2131
|
},
|
|
2132
2132
|
|
|
2133
2133
|
cast_expression: ($) =>
|
package/package.json
CHANGED
package/tree-sitter-c.wasm
CHANGED
|
Binary file
|