mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 10:09:36 +02:00
code cleanups
This commit is contained in:
@@ -33,19 +33,18 @@
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
#include "Poco/Ascii.h"
|
||||
#include "Poco/Token.h"
|
||||
|
||||
#include "Poco/JSON/Parser.h"
|
||||
#include "Poco/JSON/JSONException.h"
|
||||
#include "Poco/Ascii.h"
|
||||
#include "Poco/Token.h"
|
||||
#undef min
|
||||
#undef max
|
||||
#include <limits>
|
||||
|
||||
|
||||
namespace Poco
|
||||
{
|
||||
namespace JSON
|
||||
{
|
||||
namespace Poco {
|
||||
namespace JSON {
|
||||
|
||||
|
||||
class SeparatorToken: public Token
|
||||
@@ -90,6 +89,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
class StringToken: public Token
|
||||
{
|
||||
public:
|
||||
@@ -243,6 +243,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
class KeywordToken : public Token
|
||||
{
|
||||
public:
|
||||
@@ -281,6 +282,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
class NumberToken: public Token
|
||||
{
|
||||
public:
|
||||
@@ -418,9 +420,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Class _activeClass;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -697,4 +697,4 @@ bool Parser::readElements(bool firstCall)
|
||||
throw JSONException(format("Invalid token '%s' found.", token->asString()));
|
||||
}
|
||||
|
||||
}}
|
||||
} } // namespace Poco::JSON
|
||||
|
||||
Reference in New Issue
Block a user