diff --git a/rounding/devnotes.md b/rounding/devnotes.md new file mode 100644 index 0000000000000000000000000000000000000000..e091555cf89248bdb6670392434fb6cc448a640f --- /dev/null +++ b/rounding/devnotes.md @@ -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'. + +