Ignore:
Timestamp:
Aug 2, 2000, 10:20:36 PM (25 years ago)
Author:
bird
Message:

Corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/StateUpd.cpp

    r3937 r3944  
    1 /* $Id: StateUpd.cpp,v 1.31 2000-08-02 18:10:11 bird Exp $
     1/* $Id: StateUpd.cpp,v 1.32 2000-08-02 20:20:35 bird Exp $
    22 *
    33 * StateUpd - Scans source files for API functions and imports data on them.
     
    216216                case 'S':
    217217                    options.fRecursive = TRUE;
    218                     fprintf(stderr, "This option (-s) is currently broken\n");
    219                     return -1;
     218                    fprintf(stderr, "Warning: -s processes subdirs of source for one DLL\n");
     219                    break;
    220220
    221221                case 'u':
     
    13421342                            pszEnd = strlen(pszEnd) + pszEnd + 1;
    13431343                            *pszEnd = '\0';
    1344                             memset(psz, ' ', pszP2 - psz);
     1344                            if (pszP2 > psz) //FIXME here is a bug. (opengl\mesa\span.c(gl_write_multitexture_span))
     1345                                memset(psz, ' ', pszP2 - psz);
     1346                            else
     1347                                fprintf(phLog, "assert: line %d\n", __LINE__);
    13451348                        }
    13461349                        pFnDesc->apszParamType[j] = trim(apszArgs[j]);
     
    27772780 * @remark    Comments are skipped.
    27782781 *            No tests for strings ("...asdf").
     2782 *            TODO: Multiline preprocessor directives....
    27792783 */
    27802784static char *skipBackwards(const char *pszStopAt, const char *pszFrom, int &iLine, char **papszLines)
     
    28172821                while (*pszStart == ' ')
    28182822                    pszStart++;
    2819                 if (*pszStart != '\0' && *pszStart != '#'
    2820                     && !(*pszStart == '/' && pszStart[1] == '/'))
     2823
     2824                /* stop at preprocessor stuff */
     2825                if (*pszStart == '#')
     2826                    return (char*)pszFrom;
     2827
     2828                if (*pszStart != '\0' && !(*pszStart == '/' && pszStart[1] == '/'))
    28212829                {   /* find '//' */
    28222830                    pszStart = strstr(pszStart, "//");
Note: See TracChangeset for help on using the changeset viewer.