Fix bug in isdash

The way isdashed is used, the comparison token=='-' would always test false since token is a String and '-' is a Char and they could never compare equal to each other in Julia.
Merge pull request #2 from jiahao/patch-1

Fix bug in isdash