Changeset 465 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp
- Timestamp:
- Mar 24, 2008, 8:05:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp
r449 r465 20 20 if( !compiler.StringToType( returnTypeName, returnType ) ) 21 21 { 22 SetError(3,returnTypeName,sourceIndex);22 compiler.errorMessenger.Output(3,returnTypeName,sourceIndex); 23 23 } 24 24 } … … 72 72 else if( source[i] == 1 && source[i+1] == ESC_ENDNAMESPACE ){ 73 73 if( namespaceScopes.size() <= 0 ){ 74 SetError(12, "End Namespace", i );74 compiler.errorMessenger.Output(12, "End Namespace", i ); 75 75 } 76 76 else{ … … 91 91 if( !compiler.GetNamespaceSupporter().ImportsNamespace( temporary ) ) 92 92 { 93 SetError(64,temporary,i );93 compiler.errorMessenger.Output(64,temporary,i ); 94 94 } 95 95 … … 108 108 if( !( source[i] == 1 && ( source[i+1] == ESC_SUB || source[i+1] == ESC_FUNCTION ) ) ) 109 109 { 110 SetError(1,NULL,i);110 compiler.errorMessenger.Output(1,NULL,i); 111 111 continue; 112 112 } … … 125 125 if( source[i] != '(' ) 126 126 { 127 SetError(1,NULL,nowLine);127 compiler.errorMessenger.Output(1,NULL,nowLine); 128 128 continue; 129 129 } … … 142 142 if( procKind != Procedure::Function ) 143 143 { 144 SetError(38,name,nowLine);144 compiler.errorMessenger.Output(38,name,nowLine); 145 145 } 146 146 } … … 149 149 if( procKind == Procedure::Function ) 150 150 { 151 SetError(-104,name,nowLine);151 compiler.errorMessenger.Output(-104,name,nowLine); 152 152 lstrcpy( returnTypeName, "Double" ); 153 153 }
Note:
See TracChangeset
for help on using the changeset viewer.