From 29f17aed68bccb2643e915cf95a0328267fe6127 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 12 Aug 2015 07:56:48 -0400 Subject: [PATCH] Lexer: Duration replaced by ISO8601p --- src/Lexer.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Lexer.cpp b/src/Lexer.cpp index 4ed409292..2a1dba70d 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -29,7 +29,6 @@ #include #include #include -#include #include 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; }