Update parser.rb to include Haskell and Erlang comments

Haskell (`.hs`) has (single line) comments beginning with `--` and Erlang (`.erl`) with `%`.