astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2016-06-05 14:14:28 +02:00
parent 3c10b25b3e
commit bab4f61bb2
1 changed files with 3 additions and 2 deletions

View File

@ -1249,7 +1249,8 @@ bool MathLib::isOctalDigit(char c)
return (c >= '0' && c <= '7');
}
bool MathLib::isDigitSeparator(const std::string& iCode, std::string::size_type iPos) {
bool MathLib::isDigitSeparator(const std::string& iCode, std::string::size_type iPos)
{
if (iPos == 0 || iPos >= iCode.size() || iCode[iPos] != '\'')
return false;
std::string::size_type i = iPos - 1;
@ -1261,7 +1262,7 @@ bool MathLib::isDigitSeparator(const std::string& iCode, std::string::size_type
if (i == iPos - 1) { // No xdigit before '
return false;
} else {
switch(iCode[i]) {
switch (iCode[i]) {
case ' ':
case '.':
case ',':