使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
tree-sitter-c
镜像自地址
https://github.com/tree-sitter/tree-sitter-c
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
79
百科
动态
浏览代码
Use new ubiquitous token format
pull/1/head
Max Brunsfeld
12 年前
父节点
a2c90643d7
当前提交
bb5fbbf48f
共有
1 个文件被更改
,包括
1 次插入
和
3 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-3
grammar.coffee
+ 1
- 3
grammar.coffee
查看文件
@ -10,9 +10,7 @@ commaSep1 = (rule) ->
module.exports =
compiler
.
grammar
name:
'
c
'
,
separators:
[
'
'
,
'
\t
'
,
'
\r
'
,
'
\n
'
]
ubiquitous:
[
"
comment
"
]
ubiquitous:
->
[
@
comment
,
/\s/
]
rules
:
program:
->
repeat
(
choice
(
撰写
预览
正在加载...
取消
保存