使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
tree-sitter-c
镜像自地址
https://github.com/tree-sitter/tree-sitter-c
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
79
百科
动态
浏览代码
Fix malformed test that wasn't being run
pull/2/head
Max Brunsfeld
10 年前
父节点
a309768a19
当前提交
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)))))))
撰写
预览
正在加载...
取消
保存