Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
isprogram
/
tree-sitter-c
miroir de
https://github.com/tree-sitter/tree-sitter-c
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Projects
0
Versions
79
Wiki
Activité
Parcourir la source
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
il y a 10 ans
Parent
a309768a19
révision
c57b5a58f2
2 fichiers modifiés
avec
2 ajouts
et
3 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+0
-1
grammar.js
+2
-2
grammar_test/statements.txt
+ 0
- 1
grammar.js
Voir le fichier
@ -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
Voir le fichier
@ -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)))))))
Écrire
Aperçu
Chargement…
Annuler
Enregistrer