Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
isprogram
/
tree-sitter-c
şunun yansıması
https://github.com/tree-sitter/tree-sitter-c
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Projeler
0
Sürümler
79
Wiki
Aktivite
Kaynağa Gözat
Require a line break after an unknown preprocessor directive
pull/8/head
Max Brunsfeld
8 yıl önce
ebeveyn
e6c28cafb3
işleme
3a97441df7
3 değiştirilmiş dosya
ile
54074 ekleme
ve
53705 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+2
-1
grammar.js
+23
-2
src/grammar.json
+54049
-53702
src/parser.c
+ 2
- 1
grammar.js
Dosyayı Görüntüle
@ -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
Dosyayı Görüntüle
@ -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
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet