Changeset - e32a546ab0a4
[Not reviewed]
0 0 2
tripun - 10 years ago 2014-06-20 08:40:46
tripun@gmail.com
added new files
2 files changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rounding/devnotes.md
Show inline comments
 
new file 100644
 
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'.
 
  
 

	
rounding/solution.md
Show inline comments
 
new file 100644
 
 
0 comments (0 inline, 0 general)