이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
isprogram
/
tree-sitter-c
의 미러
https://github.com/tree-sitter/tree-sitter-c
보기
1
좋아요
0
포크
0
코드
이슈
0
Projects
0
릴리즈
79
위키
활동
소스 검색
Require a line break after an unknown preprocessor directive
pull/8/head
Max Brunsfeld
8 년 전
부모
e6c28cafb3
커밋
3a97441df7
3개의 변경된 파일
과
54074개의 추가작업
그리고
53705개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
grammar.js
+23
-2
src/grammar.json
+54049
-53702
src/parser.c
+ 2
- 1
grammar.js
파일 보기
@ -104,7 +104,8 @@ module.exports = grammar({
preproc_call
:
$
=>
seq
(
$
.
preproc_directive
,
$
.
preproc_arg
optional
(
seq
(
/[ \t]+/
,
$
.
preproc_arg
)
)
,
'\n'
)
,
preproc_if
:
$
=>
seq
(
+ 23
- 2
src/grammar.json
파일 보기
@ -292,8 +292,29 @@
"name"
:
"preproc_directive"
}
,
{
"type"
:
"SYMBOL"
,
"name"
:
"preproc_arg"
"type"
:
"CHOICE"
,
"members"
:
[
{
"type"
:
"SEQ"
,
"members"
:
[
{
"type"
:
"PATTERN"
,
"value"
:
"[ \\t]+"
}
,
{
"type"
:
"SYMBOL"
,
"name"
:
"preproc_arg"
}
]
}
,
{
"type"
:
"BLANK"
}
]
}
,
{
"type"
:
"STRING"
,
"value"
:
"\n"
}
]
}
,
+ 54049
- 53702
src/parser.c
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기
쓰기
미리보기
불러오는 중...
취소
저장