summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2001-03-06 17:08:53 +0000
committerDamien Doligez <damien.doligez-inria.fr>2001-03-06 17:08:53 +0000
commit94564625f7a31d48e2d5fa127e0ce47ab4028ea9 (patch)
tree105d6538ea35d136a5157b8f8a9affce28730c64
parent1e1178d63fb54cb40c7c510aea466a78370bd910 (diff)
downloadocaml-94564625f7a31d48e2d5fa127e0ce47ab4028ea9.tar.gz
MacOS X
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-xconfigure2
-rw-r--r--yacc/mkpar.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 3eb2008ecd..eb7add8387 100755
--- a/configure
+++ b/configure
@@ -191,7 +191,7 @@ case "$bytecc,$host" in
# GNU C extensions disabled, but __GNUC__ still defined!
bytecccompopts="-fno-defer-pop $gcc_warnings -U__GNUC__ -posix"
bytecclinkopts="-posix";;
- cc,*-*-rhapsody*)
+ *,*-*-rhapsody*)
# Almost the same as NeXTStep
bytecccompopts="-fno-defer-pop $gcc_warnings -DSHRINKED_GNUC"
mathlib="";;
diff --git a/yacc/mkpar.c b/yacc/mkpar.c
index f95741c821..8b46b01f82 100644
--- a/yacc/mkpar.c
+++ b/yacc/mkpar.c
@@ -201,11 +201,12 @@ void unused_rules(void)
for (i = 3; i < nrules; ++i)
if (!rules_used[i]) ++nunused;
- if (nunused)
+ if (nunused){
if (nunused == 1)
fprintf(stderr, "1 rule never reduced\n");
else
fprintf(stderr, "%d rules never reduced\n", nunused);
+ }
}