Added warning if trailing dot is used.
Merge pull request #834 from cmouse/emit-warning-on-trailing-dot

Added warning if trailing dot is used.