diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-11 17:54:07 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-11 17:54:07 +0000 |
commit | 947bc085d1b0cd44f6caa671493997810b164f75 (patch) | |
tree | 18b6007e9a080d78498be867adbf427d1b8e9d0b /games/hangman | |
parent | 64f827090085ae77934662a0b8b0e813a28ed877 (diff) |
Catch more syntax errors that were previously ignored. I've rewritten
get_number() to be more careful about what it accepts and to take
a string of terminating characters so it knows what is valid. Also
added a range check so that ranges like "60-50" where the first
number is greater than the second are now flagged.
Thanks to mpech@ for testing finding ways to abuse the parser :-)
Diffstat (limited to 'games/hangman')
0 files changed, 0 insertions, 0 deletions