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
813fef92
Kaydet (Commit)
813fef92
authored
Kas 20, 2000
tarafından
Nils Fuhrmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added new functionality for localization of configuration
üst
f744aba1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
34 deletions
+31
-34
cfgmerge.cxx
transex3/source/cfgmerge.cxx
+31
-34
No files found.
transex3/source/cfgmerge.cxx
Dosyayı görüntüle @
813fef92
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: cfgmerge.cxx,v $
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
* last change: $Author: nf $ $Date: 2000-11-20 1
3:49:48
$
* last change: $Author: nf $ $Date: 2000-11-20 1
4:45:29
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -64,7 +64,7 @@
// local includes
#include "export.hxx"
#include "
xml
merge.hxx"
#include "
cfg
merge.hxx"
#include "tokens.h"
#include "utf8conv.hxx"
...
...
@@ -91,8 +91,6 @@ ByteString sActFileName;
ByteString
sOutputFile
;
ByteString
sMergeSrc
;
BOOL
bText
=
FALSE
;
extern
"C"
{
// the whole interface to lexer is in this extern "C" section
...
...
@@ -235,35 +233,6 @@ int WorkOnTokenSet( int nTyp, char *pTokenText )
fprintf
(
stdout
,
pTokenText
);
return
1
;
if
(
bText
&&
nTyp
!=
CFG_TEXTCHAR
)
{
fprintf
(
stdout
,
"
\n
"
);
bText
=
FALSE
;
}
switch
(
nTyp
)
{
case
CFG_TAG
:
fprintf
(
stdout
,
"TAG: %s
\n
"
,
pTokenText
);
break
;
case
CFG_TEXT_START
:
fprintf
(
stdout
,
"TEXT_START: %s
\n
"
,
pTokenText
);
bText
=
TRUE
;
break
;
case
CFG_TEXT_END
:
fprintf
(
stdout
,
"
\n
TEXT_END: %s
\n
"
,
pTokenText
);
break
;
case
CFG_TEXTCHAR
:
fprintf
(
stdout
,
"%s"
,
pTokenText
);
break
;
case
CFG_UNKNOWNTAG
:
fprintf
(
stdout
,
"UNKNOWNTAG: %s
\n
"
,
pTokenText
);
break
;
case
CFG_CLOSETAG
:
fprintf
(
stdout
,
"CLOSETAG: %s
\n
"
,
pTokenText
);
break
;
}
return
1
;
}
...
...
@@ -282,3 +251,31 @@ int GetError()
}
}
//
// class CfgStack
//
/*****************************************************************************/
CfgStack
::~
CfgStack
()
/*****************************************************************************/
{
for
(
ULONG
i
=
0
;
i
<
Count
();
i
++
)
delete
GetObject
(
i
);
}
/*****************************************************************************/
ByteString
CfgStack
::
GetAccessPath
(
ULONG
nPos
)
/*****************************************************************************/
{
if
(
nPos
==
LIST_APPEND
)
nPos
=
Count
()
-
1
;
ByteString
sReturn
;
for
(
ULONG
i
=
0
;
i
<=
nPos
;
i
++
)
{
if
(
i
)
sReturn
+=
"."
;
sReturn
+=
GetStackData
(
i
)
->
GetIdentifier
();
}
return
sReturn
;
}
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