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.