This fixes issues where a file with multiple def commands with their own doc comments, some of the comments would be discarded.
* Add command name to err * Add var name to error message * Add test for def comment in test