@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 +2 -2
- package/package.json +1 -1
- package/tree-sitter-c.wasm +0 -0
- package/tree-sitter.json +1 -1
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
package/tree-sitter-c.wasm
CHANGED
|
Binary file
|