--- jbofihe-0.38/output2elide.pl 2001-09-15 15:10:40.000000000 -0700 +++ jbofihe-0.38/output2elide.pl.better 2005-12-28 15:05:23.000000000 -0800 @@ -31,9 +31,9 @@ while (<>) { # Read rules - if (/^rule\s+([0-9]+)\s+subscript/) { - $losubscript = $1 unless (defined $losubscript); - $hisubscript = $1; + if (/^(rule)?\s+([0-9]+)\s+subscript/) { + $losubscript = $2 unless (defined $losubscript); + $hisubscript = $2; } if (/^Terminals, with rules/) { --- jbofihe-0.38/lex2.c 2001-09-15 15:10:39.000000000 -0700 +++ jbofihe-0.38/lex2.c.better 2005-12-28 14:42:11.000000000 -0800 @@ -539,6 +539,7 @@ } done_this_block: + (void)0; } --- jbofihe-0.38/dictaccs.c 2001-09-15 15:10:38.000000000 -0700 +++ jbofihe-0.38/dictaccs.c.better 2005-12-28 15:41:24.000000000 -0800 @@ -131,7 +131,7 @@ mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0); result = (int) mmap_base; - if (result < 0) { + if (result == -1) { perror("Could not mmap the dictionary data\n"); exit(1); } --- jbofihe-0.38/cm_translate.c 2001-09-15 15:10:37.000000000 -0700 +++ jbofihe-0.38/cm_translate.c.better 2005-12-28 15:41:51.000000000 -0800 @@ -117,7 +117,7 @@ mmap_base = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fileno(in), 0); result = (int) mmap_base; - if (result < 0) { + if (result == -1) { perror("Could not mmap the dictionary data\n"); exit(1); }