Ignore:
Timestamp:
Feb 15, 2000, 2:37:52 PM (26 years ago)
Author:
bird
Message:

Eliptic '...' args.

File:
1 edited

Legend:

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

    r2783 r2791  
    1 /* $Id: StateUpd.cpp,v 1.17 2000-02-14 17:36:19 bird Exp $
     1/* $Id: StateUpd.cpp,v 1.18 2000-02-15 13:37:52 bird Exp $
    22 *
    33 * StateUpd - Scans source files for API functions and imports data on them.
     
    983983                {   /* nearly Normal case, Type [moretype] Name.*/
    984984                    if (apszArgs[j][cch - 1] != ']')
    985                     {   /* Normal case! */
    986                         pFnDesc->apszParamName[j] = findStartOfWord(apszArgs[j] + cch - 1,
    987                                                                     apszArgs[j]);
    988                         pFnDesc->apszParamName[j][-1] = '\0';
     985                    {
     986                        if (strcmp(apszArgs[j], "...") != 0)
     987                        {   /* Normal case! */
     988                            pFnDesc->apszParamName[j] = findStartOfWord(apszArgs[j] + cch - 1,
     989                                                                        apszArgs[j]);
     990                            pFnDesc->apszParamName[j][-1] = '\0';
     991                            pFnDesc->apszParamType[j] = trim(apszArgs[j]);
     992                        }
     993                        else
     994                        {   /* eliptic */
     995                            pFnDesc->apszParamName[j] = "...";
     996                            pFnDesc->apszParamType[j] = "";
     997                        }
    989998                    }
    990999                    else
     
    10191028                            memset(psz, ' ', pszP2 - psz);
    10201029                        }
     1030                        pFnDesc->apszParamType[j] = trim(apszArgs[j]);
    10211031                    }
    10221032                }
     
    10271037                    pszEnd = strlen(pszEnd) + pszEnd + 1;
    10281038                    *pszEnd = '\0';
     1039                    pFnDesc->apszParamType[j] = trim(apszArgs[j]);
    10291040                }
    1030                 pFnDesc->apszParamType[j] = trim(apszArgs[j]);
    10311041            }
    10321042            else
Note: See TracChangeset for help on using the changeset viewer.