Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
isprogram
/
tree-sitter-c
espelho de
https://github.com/tree-sitter/tree-sitter-c
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Projects
0
Lançamentos
79
Wiki
Trabalho
Ver a proveniência
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
há 10 anos
ascendente
a309768a19
cometimento
c57b5a58f2
2 ficheiros alterados
com
2 adições
e
3 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+0
-1
grammar.js
+2
-2
grammar_test/statements.txt
+ 0
- 1
grammar.js
Ver ficheiro
@ -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
Ver ficheiro
@ -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)))))))
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar