Changeset 77 in dev for BasicCompiler_Common/Procedure.cpp
- Timestamp:
- Mar 22, 2007, 2:41:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Procedure.cpp
r75 r77 85 85 } 86 86 87 //型88 87 Type type( DEF_NON ); 89 if(sourceOfParams[i]==1&&sourceOfParams[i+1]==ESC_AS){ 88 char initValue[8192] = ""; 89 if( sourceOfParams[i] == '=' ){ 90 i++; 91 i = GetOneParameter( sourceOfParams, i, initValue ); 92 93 //エラー用 94 cp = nowLine; 95 96 NumOpe_GetType( initValue, Type::String(), type ); 97 } 98 else if(sourceOfParams[i]==1&&sourceOfParams[i+1]==ESC_AS){ 90 99 i+=2; 91 100 … … 154 163 } 155 164 156 Parameter *pParam = new Parameter( name, type, isRef );165 Parameter *pParam = new Parameter( name, type, isRef, initValue ); 157 166 if( isArray ){ 158 167 pParam->SetArray( subScripts );
Note:
See TracChangeset
for help on using the changeset viewer.