Lexer: Added ::dateFormat default

This commit is contained in:
Paul Beckingham 2016-03-28 23:00:24 -04:00
parent 3cf09863d4
commit 8dd887ddd2
2 changed files with 5 additions and 0 deletions

View file

@ -32,6 +32,8 @@
#include <unicode.h> #include <unicode.h>
#include <utf8.h> #include <utf8.h>
std::string Lexer::dateFormat = "";
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
Lexer::Lexer (const std::string& text) Lexer::Lexer (const std::string& text)
: _text (text) : _text (text)

View file

@ -36,6 +36,9 @@
class Lexer class Lexer
{ {
public: public:
// These are overridable.
static std::string dateFormat;
enum class Type { number, hex, enum class Type { number, hex,
string, string,
url, url,