Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
geany
Commits
bc9b2fa4
Kaydet (Commit)
bc9b2fa4
authored
Agu 03, 2014
tarafından
Colomban Wendling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
JavaScript: don't choke on array lists
üst
3c2d93ec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
js.c
tagmanager/ctags/js.c
+4
-0
Makefile.am
tests/ctags/Makefile.am
+1
-0
arraylist.js
tests/ctags/arraylist.js
+20
-0
arraylist.js.tags
tests/ctags/arraylist.js.tags
+9
-0
No files found.
tagmanager/ctags/js.c
Dosyayı görüntüle @
bc9b2fa4
...
...
@@ -660,6 +660,10 @@ static void findCmdTerm (tokenInfo *const token)
{
skipArgumentList
(
token
);
}
else
if
(
isType
(
token
,
TOKEN_OPEN_SQUARE
)
)
{
skipArrayList
(
token
);
}
else
{
readToken
(
token
);
...
...
tests/ctags/Makefile.am
Dosyayı görüntüle @
bc9b2fa4
...
...
@@ -14,6 +14,7 @@ test_sources = \
68hc11.asm
\
angle_bracket.cpp
\
anonymous_functions.php
\
arraylist.js
\
array_ref_and_out.cs
\
array_spec.f90
\
array-spec.f90
\
...
...
tests/ctags/arraylist.js
0 → 100644
Dosyayı görüntüle @
bc9b2fa4
var
a
=
[];
var
b
=
[
1
,
2
,
3
];
var
c
=
[
{
a
:
"hello"
,
b
:
42
},
{
a
:
"hi"
,
b
:
41
}
];
var
class
=
function
()
{
this
.
test1
=
{
foo
:
[
1
,
2
,
3
],
bar
:
[
4
,
5
,
9
]
};
// FIXME: no tag is generated for test2
this
.
test2
=
[
{
a
:
{},
b
:
{}
},
{
a
:
{},
b
:
{}
}
];
this
.
test3
=
function
()
{}
}
tests/ctags/arraylist.js.tags
0 → 100644
Dosyayı görüntüle @
bc9b2fa4
# format=tagmanager
a163840
b163840
bar64class.test10
c163840
class10
foo64class.test10
test11class0
test3128class0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment