diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-07-05 19:40:32 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-07-05 19:40:32 +0000 |
| commit | 968828283b7a0aacd71d4868846291b381884eb1 (patch) | |
| tree | 241e8651974ca9d24a5f161c62c52782b8191cc7 /pattern.c | |
| parent | 4763b712fd0709a08b8e00144095df68cb37fcb1 (diff) | |
| download | puzzles-968828283b7a0aacd71d4868846291b381884eb1.zip puzzles-968828283b7a0aacd71d4868846291b381884eb1.tar.gz puzzles-968828283b7a0aacd71d4868846291b381884eb1.tar.bz2 puzzles-968828283b7a0aacd71d4868846291b381884eb1.tar.xz | |
Enhancements to mkfiles.pl and Recipe to arrange for the auxiliary
command-line programs (solosolver, patternsolver, mineobfusc) to be
built as part of the normal Makefiles. This means mkfiles.pl now has
the capability to compile a source file more than once with
different #defines. Also, fixes for those auxiliary programs and one
fix in midend.c which the Borland compiler objected to while I was
testing its makefile generation.
[originally from svn r6066]
Diffstat (limited to 'pattern.c')
| -rw-r--r-- | pattern.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1243,15 +1243,12 @@ int main(int argc, char **argv) { game_params *p; game_state *s; - int recurse = TRUE; char *id = NULL, *desc, *err; - int y, x; - int grade = FALSE; while (--argc > 0) { char *p = *++argv; if (*p == '-') { - fprintf(stderr, "%s: unrecognised option `%s'\n", argv[0]); + fprintf(stderr, "%s: unrecognised option `%s'\n", argv[0], p); return 1; } else { id = p; |