使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
tree-sitter-c
镜像自地址
https://github.com/tree-sitter/tree-sitter-c
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
79
百科
动态
浏览代码
Add signed keyword
Fixes
#10
pull/16/merge
Max Brunsfeld
7 年前
父节点
2af332790e
当前提交
176fd5f077
共有
4 个文件被更改
,包括
623 次插入
和
280 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-1
corpus/types.txt
+1
-0
grammar.js
+4
-0
src/grammar.json
+617
-279
src/parser.c
+ 1
- 1
corpus/types.txt
查看文件
@ -46,7 +46,7 @@ Type modifiers
void f(unsigned);
void f(unsigned int);
void f(
un
signed long int);
void f(signed long int);
void f(unsigned v1);
void f(unsigned long v2);
+ 1
- 0
grammar.js
查看文件
@ -282,6 +282,7 @@ module.exports = grammar({
sized_type_specifier
:
$
=>
seq
(
repeat1
(
choice
(
'signed'
,
'unsigned'
,
'long'
,
'short'
+ 4
- 0
src/grammar.json
查看文件
@ -1891,6 +1891,10 @@
"content"
:
{
"type"
:
"CHOICE"
,
"members"
:
[
{
"type"
:
"STRING"
,
"value"
:
"signed"
}
,
{
"type"
:
"STRING"
,
"value"
:
"unsigned"
+ 617
- 279
src/parser.c
文件差异内容过多而无法显示
查看文件
撰写
预览
正在加载...
取消
保存