Changeset 2791 for trunk/tools/database/StateUpd.cpp
- Timestamp:
- Feb 15, 2000, 2:37:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/StateUpd.cpp
r2783 r2791 1 /* $Id: StateUpd.cpp,v 1.1 7 2000-02-14 17:36:19bird Exp $1 /* $Id: StateUpd.cpp,v 1.18 2000-02-15 13:37:52 bird Exp $ 2 2 * 3 3 * StateUpd - Scans source files for API functions and imports data on them. … … 983 983 { /* nearly Normal case, Type [moretype] Name.*/ 984 984 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 } 989 998 } 990 999 else … … 1019 1028 memset(psz, ' ', pszP2 - psz); 1020 1029 } 1030 pFnDesc->apszParamType[j] = trim(apszArgs[j]); 1021 1031 } 1022 1032 } … … 1027 1037 pszEnd = strlen(pszEnd) + pszEnd + 1; 1028 1038 *pszEnd = '\0'; 1039 pFnDesc->apszParamType[j] = trim(apszArgs[j]); 1029 1040 } 1030 pFnDesc->apszParamType[j] = trim(apszArgs[j]);1031 1041 } 1032 1042 else
Note:
See TracChangeset
for help on using the changeset viewer.