added new files
This commit is contained in:
parent
244315882f
commit
e32a546ab0
2 changed files with 6 additions and 0 deletions
5
rounding/devnotes.md
Normal file
5
rounding/devnotes.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Purpose: Adding new sub-directive under commodity directive in ledger
|
||||||
|
|
||||||
|
Adding a new sub directive was easy. They are defined in textual.cc. To add under commodity directive look for function void instance_t::commodity_directive(char * line). Each sub directive is a keyword to be matched. Simply add a new if else statement checking for the keyword. Add suitable code. Arguments passed to the sub directive are held by variable 'b'.
|
||||||
|
|
||||||
|
|
1
rounding/solution.md
Normal file
1
rounding/solution.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
Loading…
Reference in a new issue