Skip to content

Commit

Permalink
Merge pull request boostorg#222 from Romain-Geissler-1A/fix-misleadin…
Browse files Browse the repository at this point in the history
…g-indentation

Fix gcc's warning/error when building with -Wmisleading-indentation
  • Loading branch information
djowel authored Oct 16, 2016
2 parents 2fc42d5 + dd47d8b commit 054efdb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,20 @@ namespace boost { namespace spirit { namespace qi { namespace detail
#define SPIRIT_NUMERIC_INNER_LOOP(z, x, data) \
if (!check_max_digits<MaxDigits>::call(count + leading_zeros) \
|| it == last) \
{ \
break; \
} \
ch = *it; \
if (!radix_check::is_valid(ch)) \
{ \
break; \
} \
if (!extractor::call(ch, count, val)) \
{ \
if (IgnoreOverflowDigits) \
{ \
first = it; \
} \
traits::assign_to(val, attr); \
return IgnoreOverflowDigits; \
} \
Expand Down Expand Up @@ -386,10 +392,14 @@ namespace boost { namespace spirit { namespace qi { namespace detail
///////////////////////////////////////////////////////////////////////////
#define SPIRIT_NUMERIC_INNER_LOOP(z, x, data) \
if (it == last) \
{ \
break; \
} \
ch = *it; \
if (!radix_check::is_valid(ch)) \
{ \
break; \
} \
if (!extractor::call(ch, count, val)) \
{ \
traits::assign_to(val, attr); \
Expand Down

0 comments on commit 054efdb

Please sign in to comment.