Update dot.cpp: comma added for dot syntax