Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
isprogram
/
tree-sitter-c
peilaus alkaen
https://github.com/tree-sitter/tree-sitter-c
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Projects
0
Julkaisut
79
Wiki
Toiminta
Selaa lähdekoodia
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
10 vuotta sitten
vanhempi
a309768a19
commit
c57b5a58f2
2 muutettua tiedostoa
jossa
2 lisäystä
ja
3 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
grammar.js
+2
-2
grammar_test/statements.txt
+ 0
- 1
grammar.js
Näytä tiedosto
@ -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
Näytä tiedosto
@ -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)))))))
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna