This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
isprogram
/
tree-sitter-c
огледало од
https://github.com/tree-sitter/tree-sitter-c
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Projects
0
Издања
79
Вики
Activity
Преглед изворни кода
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
пре 10 година
родитељ
a309768a19
комит
c57b5a58f2
2 измењених фајлова
са
2 додато
и
3 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
grammar.js
+2
-2
grammar_test/statements.txt
+ 0
- 1
grammar.js
Прегледај датотеку
@ -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
Прегледај датотеку
@ -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)))))))
Write
Preview
Loading…
Откажи
Сачувај