Changeset 1672


Ignore:
Timestamp:
Nov 30, 2004, 10:35:11 PM (21 years ago)
Author:
bird
Message:

More checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/libgcc_d.awk

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1671 r1672  
    33
    44BEGIN{
    5 #  if (ARGC != 1)
     5#  if (ARGC != 3)
    66#  {
    7 #    print "Usage: libgcc_d.awk [libcXY.def]"
     7#    print "Usage: libgcc_d.awk <libcXY.def> <libc.def>";
    88#    exit 1;
    99#  }
    1010  print "; Auto-generated file, DO NOT EDIT!!! (see libgcc_d.awk) */"
    11   in_exports = 0
    12   in_libgcc = 0
     11  in_exports = 0;
     12  in_libgcc = 0;
     13  done_library = 0;
    1314}
    1415
    15 /^LIBRARY .*/  { print $0; }
     16/^LIBRARY .*/  { print $0; done_library = 1; }
    1617
    1718/^EXPORTS$/    {
     19  if (!done_library)
     20  {
     21    print "No LIBRARY statement in file input file(s).";
     22    exit 1;
     23  }
    1824  in_exports = 1;
    1925  print "EXPORTS";
Note: See TracChangeset for help on using the changeset viewer.