Recent revelations even show that it's not that far off...
while (Peek() != '*' && PeekAhead() != '/' && !IsAtEnd()) {
Probably this guy.
If you encounter an asterisk or a slash, then it stops. You want to stop when you encounter an asterisk and a slash, so:
while (!(Peek() == '*' && PeekAhead() == '/') && !IsAtEnd()) {
I also find your detection of when to remove the comment a bit scary, but that might be because you haven't shown the Match method.
private char Advance() {
return source[current++];
}
This is wrong. At least as I would expect advance to behave. While you do advance, you are returning the old value, not the new one. ++current would return the new value.
Also, it would help if you said what the wrong behaviour was.
Bruce Willis, but that was apparently because of severe mental decline, so I recon that was literally a quick cash grab before everything went to shit.
Yes, it's always best when you have a wildly popular property, to completely disregard everything that made it popular to get a fresh perspective. This is the basis of many a success, just like... Uh... Anyway, this time it will be great!
You shouldn't expect someone to care about you just because you give them power. You should give power to people who care about you!
Alternative ending, he comes in swinging as usual and they're standing perplexed at what he was swinging from.
Oh, so they just have a single bad season? Surely Star Trek doesn't have a single season that's bad. Or entire series that people dislike.
The title of the post might help you out here.
It honestly has a surprisingly high rating on IMDb, I did not expect that!