Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
isprogram
/
tree-sitter-c
зеркало из
https://github.com/tree-sitter/tree-sitter-c
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Projects
0
Релизы
79
Вики
Активность
Просмотр исходного кода
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
10 лет назад
Родитель
a309768a19
Сommit
c57b5a58f2
2 измененных файлов
:
2 добавлений
и
3 удалений
Разделённый вид
Опции Diff
Показать статистику
Скачать Patch файл
Скачать Diff файл
+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)))))))
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить