Update dot.cpp

comma added for dot syntax
Merge pull request #202 from jannick0/master

Update dot.cpp: comma added for dot syntax