fix comment sanning for double dashes
Merge pull request #727 from xumingming/fix-scan-comment

fix comment sanning for double dashes