Changeset 41301 in vbox for trunk/src/bldprogs
- Timestamp:
- May 15, 2012 10:01:07 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77970
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/VBoxCPP.cpp
r41297 r41301 111 111 /** The string space core. */ 112 112 RTSTRSPACECORE Core; 113 #if 0 113 114 /** For linking macros that have the fExpanding flag set. */ 114 115 struct VBCPPMACRO *pUpExpanding; 116 #endif 115 117 /** Whether it's a function. */ 116 118 bool fFunction; … … 144 146 /** The expansion buffer. */ 145 147 VBCPPSTRBUF StrBuf; 148 #if 0 146 149 /** List of expanding macros (Stack). */ 147 150 PVBCPPMACRO pMacroStack; 151 #endif 148 152 /** The input stream (in case we want to look for parameter lists). */ 149 153 PSCMSTREAM pStrmInput; … … 1564 1568 */ 1565 1569 VBCPPMACROEXP ExpCtx; 1570 #if 0 1566 1571 ExpCtx.pMacroStack = NULL; 1572 #endif 1567 1573 ExpCtx.pStrmInput = pStrmInput; 1568 1574 ExpCtx.papszArgs = NULL; … … 2239 2245 if (rcExit == RTEXITCODE_SUCCESS) 2240 2246 { 2247 #if 0 /* wrong */ 2241 2248 /* 2242 2249 * Push the macro onto the stack. … … 2245 2252 pMacro->pUpExpanding = pExp->pMacroStack; 2246 2253 pExp->pMacroStack = pMacro; 2254 #endif 2247 2255 } 2248 2256 … … 2471 2479 static void vbcppMacroExpandCleanup(PVBCPPMACROEXP pExp) 2472 2480 { 2481 #if 0 2473 2482 while (pExp->pMacroStack) 2474 2483 { … … 2479 2488 pMacro->pUpExpanding = NULL; 2480 2489 } 2490 #endif 2481 2491 2482 2492 while (pExp->cArgs > 0) … … 4452 4462 size_t offComment; 4453 4463 VBCPPMACROEXP ExpCtx; 4464 #if 0 4454 4465 ExpCtx.pMacroStack = NULL; 4466 #endif 4455 4467 ExpCtx.pStrmInput = NULL; 4456 4468 ExpCtx.papszArgs = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.