Skip to content

Commit 6d62612

Browse files
committed
Manual formatting in clang-format-off-section
1 parent c8b76a2 commit 6d62612

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

include/tao/json/internal/grammar.hpp

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ namespace tao
6464
{
6565
bool result = false;
6666

67-
while ( ! in.empty() ) {
68-
if ( const auto t = json_pegtl::internal::peek_utf8::peek( in ) ) {
69-
if ( ( 0x20 <= t.data ) && ( t.data <= 0x10ffff ) && ( t.data != '\\' ) && ( t.data != '"' ) ) {
67+
while( !in.empty() ) {
68+
if( const auto t = json_pegtl::internal::peek_utf8::peek( in ) ) {
69+
if( ( 0x20 <= t.data ) && ( t.data <= 0x10ffff ) && ( t.data != '\\' ) && ( t.data != '"' ) ) {
7070
in.bump_in_this_line( t.size );
7171
result = true;
7272
continue;
@@ -118,7 +118,12 @@ namespace tao
118118
{
119119
using analyze_t = analysis::generic< analysis::rule_type::SOR, string, number, object, array, false_, true_, null >;
120120

121-
template< apply_mode A, rewind_mode M, template< typename ... > class Action, template< typename ... > class Control, typename Input, typename ... States >
121+
template< apply_mode A,
122+
rewind_mode M,
123+
template< typename ... > class Action,
124+
template< typename ... > class Control,
125+
typename Input,
126+
typename ... States >
122127
static bool match( Input & in, States && ... st )
123128
{
124129
switch( in.peek_char() ) {

0 commit comments

Comments
 (0)