Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
isprogram
/
tree-sitter-c
espelhamento de
https://github.com/tree-sitter/tree-sitter-c
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Projects
0
Versões
79
Wiki
Atividade
Ver código fonte
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
10 anos atrás
pai
a309768a19
commit
c57b5a58f2
2 arquivos alterados
com
2 adições
e
3 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+0
-1
grammar.js
+2
-2
grammar_test/statements.txt
+ 0
- 1
grammar.js
Ver arquivo
@ -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 arquivo
@ -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é-visualização
Carregando…
Cancelar
Salvar