Skip to content

Commit e3cc0f0

Browse files
committed
Untabified some sources
1 parent fb17080 commit e3cc0f0

5 files changed

Lines changed: 35 additions & 35 deletions

File tree

include/json/reader.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ namespace Json {
197197
Result:
198198
\verbatim
199199
{
200-
"dir": {
201-
"file": {
202-
// The input stream JSON would be nested here.
203-
}
204-
}
200+
"dir": {
201+
"file": {
202+
// The input stream JSON would be nested here.
203+
}
204+
}
205205
}
206206
\endverbatim
207207
\throw std::exception on parse error.

include/json/value.h

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -132,30 +132,30 @@ namespace Json {
132132
typedef Json::UInt64 UInt64;
133133
typedef Json::Int64 Int64;
134134
#endif // defined(JSON_HAS_INT64)
135-
typedef Json::LargestInt LargestInt;
136-
typedef Json::LargestUInt LargestUInt;
135+
typedef Json::LargestInt LargestInt;
136+
typedef Json::LargestUInt LargestUInt;
137137
typedef Json::ArrayIndex ArrayIndex;
138138

139139
static const Value null;
140-
/// Minimum signed integer value that can be stored in a Json::Value.
141-
static const LargestInt minLargestInt;
142-
/// Maximum signed integer value that can be stored in a Json::Value.
140+
/// Minimum signed integer value that can be stored in a Json::Value.
141+
static const LargestInt minLargestInt;
142+
/// Maximum signed integer value that can be stored in a Json::Value.
143143
static const LargestInt maxLargestInt;
144-
/// Maximum unsigned integer value that can be stored in a Json::Value.
144+
/// Maximum unsigned integer value that can be stored in a Json::Value.
145145
static const LargestUInt maxLargestUInt;
146146

147-
/// Minimum signed int value that can be stored in a Json::Value.
148-
static const Int minInt;
149-
/// Maximum signed int value that can be stored in a Json::Value.
147+
/// Minimum signed int value that can be stored in a Json::Value.
148+
static const Int minInt;
149+
/// Maximum signed int value that can be stored in a Json::Value.
150150
static const Int maxInt;
151-
/// Maximum unsigned int value that can be stored in a Json::Value.
151+
/// Maximum unsigned int value that can be stored in a Json::Value.
152152
static const UInt maxUInt;
153153

154-
/// Minimum signed 64 bits int value that can be stored in a Json::Value.
155-
static const Int64 minInt64;
156-
/// Maximum signed 64 bits int value that can be stored in a Json::Value.
154+
/// Minimum signed 64 bits int value that can be stored in a Json::Value.
155+
static const Int64 minInt64;
156+
/// Maximum signed 64 bits int value that can be stored in a Json::Value.
157157
static const Int64 maxInt64;
158-
/// Maximum unsigned 64 bits int value that can be stored in a Json::Value.
158+
/// Maximum unsigned 64 bits int value that can be stored in a Json::Value.
159159
static const UInt64 maxUInt64;
160160

161161
private:
@@ -202,14 +202,14 @@ namespace Json {
202202
To create an empty array, pass arrayValue.
203203
To create an empty object, pass objectValue.
204204
Another Value can then be set to this one by assignment.
205-
This is useful since clear() and resize() will not alter types.
205+
This is useful since clear() and resize() will not alter types.
206206
207207
Examples:
208-
\code
209-
Json::Value null_value; // null
210-
Json::Value arr_value(Json::arrayValue); // []
211-
Json::Value obj_value(Json::objectValue); // {}
212-
\endcode
208+
\code
209+
Json::Value null_value; // null
210+
Json::Value arr_value(Json::arrayValue); // []
211+
Json::Value obj_value(Json::objectValue); // {}
212+
\endcode
213213
*/
214214
Value( ValueType type = nullValue );
215215
Value( Int value );
@@ -315,24 +315,24 @@ namespace Json {
315315
/// this from the operator[] which takes a string.)
316316
Value &operator[]( ArrayIndex index );
317317

318-
/// Access an array element (zero based index ).
318+
/// Access an array element (zero based index ).
319319
/// If the array contains less than index element, then null value are inserted
320320
/// in the array so that its size is index+1.
321321
/// (You may need to say 'value[0u]' to get your compiler to distinguish
322322
/// this from the operator[] which takes a string.)
323323
Value &operator[]( int index );
324324

325-
/// Access an array element (zero based index )
325+
/// Access an array element (zero based index )
326326
/// (You may need to say 'value[0u]' to get your compiler to distinguish
327327
/// this from the operator[] which takes a string.)
328328
const Value &operator[]( ArrayIndex index ) const;
329329

330-
/// Access an array element (zero based index )
330+
/// Access an array element (zero based index )
331331
/// (You may need to say 'value[0u]' to get your compiler to distinguish
332332
/// this from the operator[] which takes a string.)
333333
const Value &operator[]( int index ) const;
334334

335-
/// If the array contains at least index+1 elements, returns the element value,
335+
/// If the array contains at least index+1 elements, returns the element value,
336336
/// otherwise returns defaultValue.
337337
Value get( ArrayIndex index,
338338
const Value &defaultValue ) const;

src/lib_json/json_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ Reader::readObject( Token &/*tokenStart*/ )
488488
if ( !readToken( comma )
489489
|| ( comma.type_ != tokenObjectEnd &&
490490
comma.type_ != tokenArraySeparator &&
491-
comma.type_ != tokenComment ) )
491+
comma.type_ != tokenComment ) )
492492
{
493493
return addErrorAndRecover( "Missing ',' or '}' in object declaration",
494494
comma,

src/lib_json/json_value.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -827,9 +827,9 @@ LargestInt
827827
Value::asLargestInt() const
828828
{
829829
#if defined(JSON_NO_INT64)
830-
return asInt();
830+
return asInt();
831831
#else
832-
return asInt64();
832+
return asInt64();
833833
#endif
834834
}
835835

@@ -838,9 +838,9 @@ LargestUInt
838838
Value::asLargestUInt() const
839839
{
840840
#if defined(JSON_NO_INT64)
841-
return asUInt();
841+
return asUInt();
842842
#else
843-
return asUInt64();
843+
return asUInt64();
844844
#endif
845845
}
846846

src/lib_json/json_writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ StyledStreamWriter::writeArrayValue( const Value &value )
656656
writeWithIndent( childValues_[index] );
657657
else
658658
{
659-
writeIndent();
659+
writeIndent();
660660
writeValue( childValue );
661661
}
662662
if ( ++index == size )

0 commit comments

Comments
 (0)