@willbooster/tree-sitter-c 5.0.1 → 5.0.2

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
@@ -1363,13 +1363,13 @@ module.exports = Object.assign(
1363
1363
  return token(
1364
1364
  seq(
1365
1365
  optional(/[-+]/),
1366
- optional(choice(/0[xX]/, /0[bB]/)),
1367
1366
  choice(
1368
1367
  seq(
1369
1368
  choice(decimalDigits, seq(/0[bB]/, decimalDigits), seq(/0[xX]/, hexDigits)),
1370
1369
  optional(seq('.', optional(hexDigits)))
1371
1370
  ),
1372
- seq('.', decimalDigits)
1371
+ seq('.', decimalDigits),
1372
+ seq(/0[xX]/, '.', hexDigits)
1373
1373
  ),
1374
1374
  optional(seq(/[eEpP]/, optional(seq(optional(/[-+]/), hexDigits)))),
1375
1375
  /[uUlLwWfFbBdD]*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "C grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "metadata": {
19
- "version": "5.0.1",
19
+ "version": "5.0.2",
20
20
  "license": "MIT",
21
21
  "description": "C grammar for tree-sitter",
22
22
  "authors": [