Changeset 784


Ignore:
Timestamp:
Oct 2, 2003, 3:11:55 AM (22 years ago)
Author:
bird
Message:

Fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/dlllegacy.cmd

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r783 r784  
    143143do while (lines(sDefFile) > 0)
    144144    sLine = strip(linein(sDefFile));
    145     iPos = pos(';', sLine);
    146     if (iPos > 0) then
    147         sLine = strip(left(sLine, iPos - 1));
     145
     146    /* strip of comments and such. */
     147    iComment = pos(';', sLine);
     148    if (iComment > 0) then
     149        sLine = strip(substr(sLine, 1, iComment - 1));
     150
    148151
    149152    /* process the line */
     
    166169        do
    167170            iOrdinal = substr(s, 2);
    168             if (iOrdinal > iLastOrdinal) then
    169                 iLastOrdinal = iOrdinal;
     171            /*if (iOrdinal > iLastOrdinal) then
     172                iLastOrdinal = iOrdinal; */
    170173            s = NextWord();
    171174        end
     
    193196        if (\fFound) then
    194197        do
    195             if (iOrdinal = 0) then
     198            /*if (iOrdinal = 0) then */
    196199            do
    197200                iLastOrdinal = iLastOrdinal + 1;
Note: See TracChangeset for help on using the changeset viewer.