mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
init: Removed unused code
This commit is contained in:
parent
6f64d6e440
commit
7304d6342f
1 changed files with 0 additions and 13 deletions
13
src/init.cpp
13
src/init.cpp
|
@ -133,19 +133,6 @@ void initializeDataAndRules (
|
||||||
throw format ("Database is not readable at '{1}'", dbLocation._data);
|
throw format ("Database is not readable at '{1}'", dbLocation._data);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Load rule grammar.
|
|
||||||
/*
|
|
||||||
File ruleFile ("./rule.grammar");
|
|
||||||
Grammar ruleGrammar;
|
|
||||||
ruleGrammar.debug (debug);
|
|
||||||
ruleGrammar.loadFromFile (ruleFile);
|
|
||||||
|
|
||||||
// Instantiate the parser.
|
|
||||||
LR0 ruleParser;
|
|
||||||
ruleParser.debug (debug);
|
|
||||||
ruleParser.initialize (ruleGrammar);
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Load the configuration data.
|
// Load the configuration data.
|
||||||
File configFile (dbLocation);
|
File configFile (dbLocation);
|
||||||
configFile += "timewarrior.cfg";
|
configFile += "timewarrior.cfg";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue