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
c8c6c831
Kaydet (Commit)
c8c6c831
authored
Nis 04, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up unreferenced functions
Change-Id: Id2c90088298d389bd1cd8efad9aa26100965d6a2
üst
705d69a9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
76 additions
and
12 deletions
+76
-12
cfglex.hxx
l10ntools/inc/cfglex.hxx
+32
-0
srclex.hxx
l10ntools/inc/srclex.hxx
+35
-0
cfglex.l
l10ntools/source/cfglex.l
+2
-4
cfgmerge.cxx
l10ntools/source/cfgmerge.cxx
+3
-1
export.cxx
l10ntools/source/export.cxx
+2
-0
srclex.l
l10ntools/source/srclex.l
+2
-7
No files found.
l10ntools/inc/cfglex.hxx
0 → 100644
Dosyayı görüntüle @
c8c6c831
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_L10NTOOLS_INC_CFGLEX_HXX
#define INCLUDED_L10NTOOLS_INC_CFGLEX_HXX
#include <sal/config.h>
#include <stdio.h>
extern
"C"
void
workOnTokenSet
(
int
,
char
*
);
extern
"C"
FILE
*
init
(
int
,
char
**
);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
l10ntools/inc/srclex.hxx
0 → 100644
Dosyayı görüntüle @
c8c6c831
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_L10NTOOLS_INC_SRCLEX_HXX
#define INCLUDED_L10NTOOLS_INC_SRCLEX_HXX
#include <sal/config.h>
#include <stdio.h>
extern
"C"
int
WorkOnTokenSet
(
int
,
char
*
);
extern
"C"
FILE
*
init
(
int
,
char
**
);
extern
"C"
int
SetError
();
extern
"C"
int
GetError
();
extern
"C"
void
Close
();
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
l10ntools/source/cfglex.l
Dosyayı görüntüle @
c8c6c831
...
...
@@ -42,6 +42,8 @@
#include "sal/main.h"
#include "cfglex.hxx"
#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
...
...
@@ -56,10 +58,6 @@
int yycolumn = 1;
#define YY_USER_ACTION yycolumn += yyleng;
/* external functions (C++ code, declared as extern "C" */
extern "C" void workOnTokenSet( int, char* );
extern "C" FILE * init(int, char **);
int bText=0;
%}
...
...
l10ntools/source/cfgmerge.cxx
Dosyayı görüntüle @
c8c6c831
...
...
@@ -17,9 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "common.hxx"
#include "sal/config.h"
#include "cfglex.hxx"
#include "common.hxx"
#include <cstdio>
#include <cstdlib>
#include <cstring>
...
...
l10ntools/source/export.cxx
Dosyayı görüntüle @
c8c6c831
...
...
@@ -23,6 +23,8 @@
#include <cstring>
#include "helper.hxx"
#include "srclex.hxx"
#include "boost/scoped_ptr.hpp"
#include <stdio.h>
#include <stdlib.h>
...
...
l10ntools/source/srclex.l
Dosyayı görüntüle @
c8c6c831
...
...
@@ -43,6 +43,8 @@
#include "sal/main.h"
#include "srclex.hxx"
#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
...
...
@@ -54,13 +56,6 @@
#endif
#define YY_NO_UNISTD_H
/* external functions (C++ code, declared as extern "C" */
extern "C" int WorkOnTokenSet( int, char* );
extern "C" FILE * init(int, char **);
extern "C" int SetError();
extern "C" int GetError();
extern "C" void Close();
/* forwards */
void YYWarning();
%}
...
...
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