erlc: extend dot_erl/3 comment
erlc: relocate helper function