diff options
author | Guido van Rossum <guido@python.org> | 1991-06-24 22:30:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-06-24 22:30:42 (GMT) |
commit | d6a15ada727e586dc7b2cce8115e65d0abb0d1aa (patch) | |
tree | 8088233a9c06c665d261f86046d0cf1ac5cea585 /Parser/pgenmain.c | |
parent | 1e2293d1f713b8fd74233aa0f66bf413b7c4ff33 (diff) | |
download | cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.zip cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.tar.gz cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.tar.bz2 |
Generalize to macintosh.
Diffstat (limited to 'Parser/pgenmain.c')
-rw-r--r-- | Parser/pgenmain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c index c1bd486..da6aa2e 100644 --- a/Parser/pgenmain.c +++ b/Parser/pgenmain.c @@ -42,7 +42,7 @@ int debugging; /* Forward */ grammar *getgrammar PROTO((char *filename)); -#ifdef THINK_C +#ifdef macintosh int main PROTO((int, char **)); char *askfile PROTO((void)); #endif @@ -57,7 +57,7 @@ main(argc, argv) FILE *fp; char *filename; -#ifdef THINK_C +#ifdef macintosh filename = askfile(); #else if (argc != 2) { @@ -115,7 +115,7 @@ getgrammar(filename) return g; } -#ifdef THINK_C +#ifdef macintosh char * askfile() { |