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
ed5b6ace
Kaydet (Commit)
ed5b6ace
authored
Ock 09, 2012
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove use of pLine in scanner
üst
c3259776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
scanner.cxx
basic/source/comp/scanner.cxx
+3
-5
No files found.
basic/source/comp/scanner.cxx
Dosyayı görüntüle @
ed5b6ace
...
@@ -219,12 +219,10 @@ bool SbiScanner::NextSym()
...
@@ -219,12 +219,10 @@ bool SbiScanner::NextSym()
sal_Int32
nOldCol1
=
nCol1
;
sal_Int32
nOldCol1
=
nCol1
;
sal_Int32
nOldCol2
=
nCol2
;
sal_Int32
nOldCol2
=
nCol2
;
sal_Unicode
buf
[
BUF_SIZE
],
*
p
=
buf
;
sal_Unicode
buf
[
BUF_SIZE
],
*
p
=
buf
;
bHash
=
false
;
eScanType
=
SbxVARIANT
;
eScanType
=
SbxVARIANT
;
aSym
=
::
rtl
::
OUString
();
aSym
=
::
rtl
::
OUString
();
bSymbol
=
bHash
=
bSymbol
=
bNumber
=
bSpaces
=
false
;
bNumber
=
bSpaces
=
false
;
// read in line?
// read in line?
if
(
!
pLine
)
if
(
!
pLine
)
...
@@ -236,7 +234,7 @@ bool SbiScanner::NextSym()
...
@@ -236,7 +234,7 @@ bool SbiScanner::NextSym()
nOldCol1
=
nOldCol2
=
0
;
nOldCol1
=
nOldCol2
=
0
;
}
}
while
(
theBasicCharClass
::
get
().
isWhitespace
(
*
pLine
)
)
while
(
nCol
<
aLine
.
getLength
()
&&
theBasicCharClass
::
get
().
isWhitespace
(
aLine
[
nCol
])
)
++
pLine
,
++
nCol
,
bSpaces
=
true
;
++
pLine
,
++
nCol
,
bSpaces
=
true
;
nCol1
=
nCol
;
nCol1
=
nCol
;
...
@@ -256,7 +254,7 @@ bool SbiScanner::NextSym()
...
@@ -256,7 +254,7 @@ bool SbiScanner::NextSym()
}
}
// copy character if symbol
// copy character if symbol
if
(
theBasicCharClass
::
get
().
isAlpha
(
*
pLine
,
bCompatible
)
||
*
pLine
==
'_'
)
if
(
nCol
<
aLine
.
getLength
()
&&
(
theBasicCharClass
::
get
().
isAlpha
(
aLine
[
nCol
],
bCompatible
)
||
aLine
[
nCol
]
==
'_'
)
)
{
{
// if there's nothing behind '_' , it's the end of a line!
// if there's nothing behind '_' , it's the end of a line!
if
(
*
pLine
==
'_'
&&
!*
(
pLine
+
1
)
)
if
(
*
pLine
==
'_'
&&
!*
(
pLine
+
1
)
)
...
...
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