/[autoconf]/autoconf/bin/autoscan.in
ViewVC logotype

Diff of /autoconf/bin/autoscan.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.79 by eggert, Wed Jul 17 08:30:43 2002 UTC revision 1.80 by akim, Mon Sep 2 07:41:56 2002 UTC
# Line 133  Try `$me --help' for more information.\n Line 133  Try `$me --help' for more information.\n
133    my $srcdir = $ARGV[0] || ".";    my $srcdir = $ARGV[0] || ".";
134    
135    verbose "srcdir = $srcdir";    verbose "srcdir = $srcdir";
136    chdir $srcdir || die "$me: cannot cd to $srcdir: $!\n";    chdir $srcdir || error "cannot cd to $srcdir: $!";
137  }  }
138    
139    
# Line 164  sub init_tables () Line 164  sub init_tables ()
164              if /^\s*$/ || /^\s*\#/;              if /^\s*$/ || /^\s*\#/;
165            unless (/^(\S+)\s+(\S.*)$/ || /^(\S+)\s*$/)            unless (/^(\S+)\s+(\S.*)$/ || /^(\S+)\s*$/)
166              {              {
167                die "$me: cannot parse definition in $file:\n$_\n";                error "cannot parse definition in $file:\n$_";
168              }              }
169            my $word = $1;            my $word = $1;
170            my $macro = $2 || $generic_macro{$kind};            my $macro = $2 || $generic_macro{$kind};
# Line 185  sub init_tables () Line 185  sub init_tables ()
185        $table->close;        $table->close;
186      }      }
187    
188    die "$me: some tables are inconsistent\n"    error "some tables are inconsistent"
189      if !$tables_are_consistent;      if !$tables_are_consistent;
190  }  }
191    

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26