diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
commit | 1a784f6768595b62ce05076f22a2c93b90e24cc3 (patch) | |
tree | 5ec849b506400ce23a004d352e50414375993297 /idlc/source | |
parent | CWS-TOOLING: integrate CWS sb93 (diff) | |
download | core-1a784f6768595b62ce05076f22a2c93b90e24cc3.tar.gz core-1a784f6768595b62ce05076f22a2c93b90e24cc3.zip |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'idlc/source')
-rw-r--r-- | idlc/source/scanner.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/idlc/source/scanner.ll b/idlc/source/scanner.ll index d1a643556644..ea122c531400 100644 --- a/idlc/source/scanner.ll +++ b/idlc/source/scanner.ll @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: scanner.ll,v $ - * $Revision: 1.16 $ + * $Revision: 1.16.16.1 $ * * This file is part of OpenOffice.org. * @@ -189,7 +189,7 @@ static double asciiToFloat(const sal_Char *s) } if (e > 0) { - for (k = 1; e > 0; k *= 10, e--); + for (k = 1; e > 0; k *= 10, e--) ; if (negexp) d /= k; else @@ -223,9 +223,9 @@ static void parseLineAndFile(sal_Char* pBuf) return; /* Find line number */ - for (r++; *r == ' ' || *r == '\t' || isalpha(*r); r++); + for (r++; *r == ' ' || *r == '\t' || isalpha(*r); r++) ; h = r; - for (; *r != '\0' && *r != ' ' && *r != '\t'; r++); + for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) ; *r++ = 0; idlc()->setLineNumber((sal_uInt32)atol(h)); @@ -236,7 +236,7 @@ static void parseLineAndFile(sal_Char* pBuf) return; } h = ++r; - for (; *r != '"'; r++); + for (; *r != '"'; r++) ; *r = 0; if (*h == '\0') idlc()->setFileName(::rtl::OString("standard input")); |