@willbooster/tree-sitter-c 26.0.0 → 27.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/package.json +1 -1
- package/src/pragma.h +2 -1
- package/tree-sitter-c.wasm +0 -0
- package/tree-sitter.json +1 -1
package/package.json
CHANGED
package/src/pragma.h
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// code-gauge-allow-file fileNcss
|
|
1
|
+
// code-gauge-allow-file fileNcss 484 -- Preprocessor tokens and pragma operators share names, spacing, and literal readers.
|
|
2
2
|
#ifndef TREE_SITTER_C_PRAGMA_H_
|
|
3
3
|
#define TREE_SITTER_C_PRAGMA_H_
|
|
4
4
|
|
|
@@ -146,6 +146,7 @@ static bool scan_pragma_spacing(TSLexer *lexer) {
|
|
|
146
146
|
|
|
147
147
|
static bool scan_pragma_comment(TSLexer *lexer) {
|
|
148
148
|
lexer->advance(lexer, false);
|
|
149
|
+
if (!scan_preproc_splices(lexer)) return false;
|
|
149
150
|
if (lexer->lookahead == '/') return scan_preproc_line_comment(lexer);
|
|
150
151
|
if (lexer->lookahead == '*') return scan_preproc_block_comment(lexer);
|
|
151
152
|
return false;
|
package/tree-sitter-c.wasm
CHANGED
|
Binary file
|