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
dbff5bd4
Kaydet (Commit)
dbff5bd4
authored
Eyl 12, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#736166 unlikely out of bounds
Change-Id: I8a0f97be1723766df9f8fe287417365febf54966
üst
463bf087
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
symtbl.cxx
basic/source/comp/symtbl.cxx
+4
-1
parser.hxx
basic/source/inc/parser.hxx
+2
-1
No files found.
basic/source/comp/symtbl.cxx
Dosyayı görüntüle @
dbff5bd4
...
@@ -350,7 +350,10 @@ void SbiSymDef::SetType( SbxDataType t )
...
@@ -350,7 +350,10 @@ void SbiSymDef::SetType( SbxDataType t )
unsigned
char
c
=
(
unsigned
char
)
ch2
;
unsigned
char
c
=
(
unsigned
char
)
ch2
;
if
(
c
>
0
&&
c
<
128
)
if
(
c
>
0
&&
c
<
128
)
{
{
t
=
pIn
->
pParser
->
eDefTypes
[
ch2
-
'A'
];
int
nIndex
=
ch2
-
'A'
;
assert
(
nIndex
>=
0
&&
nIndex
<
N_DEF_TYPES
);
if
(
nIndex
>=
0
&&
nIndex
<
N_DEF_TYPES
)
t
=
pIn
->
pParser
->
eDefTypes
[
nIndex
];
}
}
}
}
}
}
...
...
basic/source/inc/parser.hxx
Dosyayı görüntüle @
dbff5bd4
...
@@ -77,7 +77,8 @@ public:
...
@@ -77,7 +77,8 @@ public:
bool
bClassModule
;
// true: OPTION ClassModule
bool
bClassModule
;
// true: OPTION ClassModule
StringVector
aIfaceVector
;
// Holds all interfaces implemented by a class module
StringVector
aIfaceVector
;
// Holds all interfaces implemented by a class module
StringVector
aRequiredTypes
;
// Types used in Dim As New <type> outside subs
StringVector
aRequiredTypes
;
// Types used in Dim As New <type> outside subs
SbxDataType
eDefTypes
[
26
];
// DEFxxx data types
# define N_DEF_TYPES 26
SbxDataType
eDefTypes
[
N_DEF_TYPES
];
// DEFxxx data types
SbiParser
(
StarBASIC
*
,
SbModule
*
);
SbiParser
(
StarBASIC
*
,
SbModule
*
);
bool
Parse
();
bool
Parse
();
...
...
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