Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
70e06397
Kaydet (Commit)
70e06397
authored
Agu 06, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
in find-duplicated-sids, also check for redefinitions
Change-Id: I0c90efb477a7e9ee4acac98f97c9ff77e75cdec4
üst
30585544
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
find-duplicated-sids.py
bin/find-duplicated-sids.py
+5
-1
No files found.
bin/find-duplicated-sids.py
Dosyayı görüntüle @
70e06397
...
@@ -60,7 +60,11 @@ with a.stdout as txt:
...
@@ -60,7 +60,11 @@ with a.stdout as txt:
if
(
sidTextValue
.
find
(
"
\"
"
)
!=
-
1
):
continue
if
(
sidTextValue
.
find
(
"
\"
"
)
!=
-
1
):
continue
# ignore the multiline macros
# ignore the multiline macros
if
(
sidTextValue
.
find
(
"
\\
"
)
!=
-
1
):
continue
if
(
sidTextValue
.
find
(
"
\\
"
)
!=
-
1
):
continue
sidNameToValue
[
sidName
]
=
sidTextValue
# check for redefinitions
if
sidName
[
0
:
4
]
==
"SID_"
and
sidNameToValue
.
has_key
(
sidName
):
print
"Redefinition:
\n\t
"
,
sidNameToOriginalLine
[
sidName
],
"
\n\t
"
,
originalLine
else
:
sidNameToValue
[
sidName
]
=
sidTextValue
sidNameToOriginalLine
[
sidName
]
=
originalLine
sidNameToOriginalLine
[
sidName
]
=
originalLine
# decode the constants into their numeric values recursively
# decode the constants into their numeric values recursively
...
...
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