Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
isprogram
/
tree-sitter-c
mirror da
https://github.com/tree-sitter/tree-sitter-c
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Projects
0
Rilasci
79
Wiki
Attività
Sfoglia il codice sorgente
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
10 anni fa
parent
a309768a19
commit
c57b5a58f2
2 ha cambiato i file
con
2 aggiunte
e
3 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+0
-1
grammar.js
+2
-2
grammar_test/statements.txt
+ 0
- 1
grammar.js
Vedi File
@ -30,7 +30,6 @@ module.exports = grammar({
conflicts
:
$
=>
[
[
$
.
_type_specifier
,
$
.
_expression
]
,
[
$
.
_type_specifier
,
$
.
direct_declarator
]
,
[
$
.
sizeof_expression
,
$
.
cast_expression
]
,
]
,
+ 2
- 2
grammar_test/statements.txt
Vedi File
@ -74,12 +74,12 @@ int main() {
printf("hi");
}
---
---
(translation_unit
(function_definition
(identifier)
(
direct
_declarator (identifier))
(
function
_declarator (identifier))
(compound_statement
(while_statement (identifier)
(expression_statement (call_expression (identifier) (string_literal)))))))
Scrivi
Anteprima
Caricamento…
Annulla
Salva