Changeset 575 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Procedure.cpp
- Timestamp:
- May 7, 2008, 12:13:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Procedure.cpp
r574 r575 118 118 } 119 119 120 int ProcPointers::Add( const std::string &typeExpression )121 {122 DWORD dwProcType = (DWORD)typeExpression[2];123 const std::string ¶mStr = typeExpression.substr( 3 );124 125 Procedure::Kind kind = Procedure::Sub;126 if( dwProcType == ESC_FUNCTION ){127 kind = Procedure::Function;128 }129 130 ProcPointer *pProcPointer = new ProcPointer( kind );131 132 //buffer[0]は'('となっている133 extern int cp;134 LexicalAnalyzer::SetParamsAndReturnType( pProcPointer, paramStr.c_str(), false, cp );135 136 this->push_back( pProcPointer );137 138 return (int)this->size()-1;139 }140 141 120 void ProcPointers::Clear() 142 121 {
Note:
See TracChangeset
for help on using the changeset viewer.