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
d7edcee5
Kaydet (Commit)
d7edcee5
authored
Kas 23, 2012
tarafından
Tor Lillqvist
Kaydeden (comit)
Tor Lillqvist
Kas 23, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Why write Emacs and vim mode lines to a generated file one should not edit?
Change-Id: I3f815bc7e825728421d5d87832f9a5ad1bcb53cc
üst
44ea5d14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
js2hxx.py
filter/source/svg/js2hxx.py
+2
-16
No files found.
filter/source/svg/js2hxx.py
Dosyayı görüntüle @
d7edcee5
...
...
@@ -144,25 +144,11 @@ if( not os.path.isfile( outfile_name ) ):
# C++ header
header_info
=
"""
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
header_info
=
'/* !! This file is auto-generated, do not edit !! */'
/* !! This file is auto-generated, do not edit !! */
"""
vim_setup
=
'/* vim:set shiftwidth=4 softtabstop=4 expandtab: */'
outfile
.
write
(
header_info
+
'
\n
'
)
outfile
.
write
(
'
\n
'
)
outfile
.
write
(
header_info
+
'
\n\n
'
)
for
line
in
out_lines
:
outfile
.
write
(
line
+
'
\n
'
)
outfile
.
write
(
'
\n
'
)
outfile
.
write
(
'
\n
'
)
outfile
.
write
(
vim_setup
+
'
\n
'
)
outfile
.
close
()
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