Changeset 3944 for trunk/tools/database/StateUpd.cpp
- Timestamp:
- Aug 2, 2000, 10:20:36 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/StateUpd.cpp
r3937 r3944 1 /* $Id: StateUpd.cpp,v 1.3 1 2000-08-02 18:10:11bird Exp $1 /* $Id: StateUpd.cpp,v 1.32 2000-08-02 20:20:35 bird Exp $ 2 2 * 3 3 * StateUpd - Scans source files for API functions and imports data on them. … … 216 216 case 'S': 217 217 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; 220 220 221 221 case 'u': … … 1342 1342 pszEnd = strlen(pszEnd) + pszEnd + 1; 1343 1343 *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__); 1345 1348 } 1346 1349 pFnDesc->apszParamType[j] = trim(apszArgs[j]); … … 2777 2780 * @remark Comments are skipped. 2778 2781 * No tests for strings ("...asdf"). 2782 * TODO: Multiline preprocessor directives.... 2779 2783 */ 2780 2784 static char *skipBackwards(const char *pszStopAt, const char *pszFrom, int &iLine, char **papszLines) … … 2817 2821 while (*pszStart == ' ') 2818 2822 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] == '/')) 2821 2829 { /* find '//' */ 2822 2830 pszStart = strstr(pszStart, "//");
Note:
See TracChangeset
for help on using the changeset viewer.