ISO8601d: Added ::minimumMatchLength
This commit is contained in:
@@ -622,8 +622,9 @@ void Context::getLimits (int& rows, int& lines)
|
||||
// easier, it has been decoupled from Context.
|
||||
void Context::staticInitialization ()
|
||||
{
|
||||
CLI2::minimumMatchLength = config.getInteger ("abbreviation.minimum");
|
||||
Lexer::minimumMatchLength = config.getInteger ("abbreviation.minimum");
|
||||
CLI2::minimumMatchLength = config.getInteger ("abbreviation.minimum");
|
||||
Lexer::minimumMatchLength = config.getInteger ("abbreviation.minimum");
|
||||
ISO8601d::minimumMatchLength = config.getInteger ("abbreviation.minimum");
|
||||
|
||||
Task::defaultProject = config.get ("default.project");
|
||||
Task::defaultDue = config.get ("default.due");
|
||||
|
||||
@@ -106,7 +106,8 @@ static struct
|
||||
|
||||
#define NUM_DURATIONS (sizeof (durations) / sizeof (durations[0]))
|
||||
|
||||
std::string ISO8601d::weekstart = STRING_DATE_SUNDAY;
|
||||
std::string ISO8601d::weekstart = STRING_DATE_SUNDAY;
|
||||
int ISO8601d::minimumMatchLength = 3;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
ISO8601d::ISO8601d ()
|
||||
|
||||
@@ -35,6 +35,7 @@ class ISO8601d
|
||||
{
|
||||
public:
|
||||
static std::string weekstart;
|
||||
static int minimumMatchLength;
|
||||
|
||||
ISO8601d ();
|
||||
~ISO8601d ();
|
||||
|
||||
Reference in New Issue
Block a user