本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
isprogram
/
tree-sitter-c
镜像来自
https://github.com/tree-sitter/tree-sitter-c
關注
1
收藏
0
複製
0
程式碼
問題
0
Projects
0
版本發佈
79
Wiki
活動
瀏覽代碼
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…
取消
儲存