Lexer: Duration replaced by ISO8601p
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include <Lexer.h>
|
||||
#include <ISO8601.h>
|
||||
#include <Date.h>
|
||||
#include <Duration.h>
|
||||
#include <utf8.h>
|
||||
|
||||
static const std::string uuid_pattern = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
||||
@@ -491,16 +490,6 @@ bool Lexer::isDuration (std::string& token, Lexer::Type& type)
|
||||
return true;
|
||||
}
|
||||
|
||||
marker = 0;
|
||||
Duration dur;
|
||||
if (dur.parse (_text.substr (_cursor), marker))
|
||||
{
|
||||
type = Lexer::Type::duration;
|
||||
token = _text.substr (_cursor, marker);
|
||||
_cursor += marker;
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user