From be6ec99fcbe0b31b5afc800c26bf1c0cb967a23f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 29 Jun 2014 11:36:51 -0400 Subject: [PATCH] Lexer - Shut off the depletion requiremeent for lexed dates. --- src/Lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lexer.cpp b/src/Lexer.cpp index a5067b935..0db3763e1 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -666,7 +666,7 @@ bool Lexer::is_date (std::string& result) legacy_i = _input.length (); std::string legacy_result = _input.substr (_shift_counter, legacy_i - _shift_counter); - Date legacyDate (legacy_result, Lexer::dateFormat, false, false); + Date legacyDate (legacy_result, Lexer::dateFormat, false, false, false); legacy_i -= _shift_counter; while (legacy_i--) shift ();