Changeset 465 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp
- Timestamp:
- Mar 24, 2008, 8:05:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp
r461 r465 10 10 { 11 11 if( !compiler.StringToType( baseName, baseType ) ){ 12 SetError(3, baseName, nowLine );12 compiler.errorMessenger.Output(3, baseName, nowLine ); 13 13 return; 14 14 } … … 87 87 88 88 if(expression[i]!='='){ 89 SetError(10,"TypeDef",nowLine);89 compiler.errorMessenger.Output(10,"TypeDef",nowLine); 90 90 return; 91 91 } … … 98 98 if(temporary[i]=='\0') break; 99 99 if( !( IsVariableChar( temporary[i], true) ) ){ 100 SetError(10,"TypeDef",nowLine);100 compiler.errorMessenger.Output(10,"TypeDef",nowLine); 101 101 return; 102 102 } … … 107 107 //関数ポインタ 108 108 if(pTemp[3]!='('){ 109 SetError(10,"TypeDef",nowLine);109 compiler.errorMessenger.Output(10,"TypeDef",nowLine); 110 110 return; 111 111 } … … 118 118 if( !( IsVariableChar( pTemp[i], true) ) ) 119 119 { 120 SetError(10,"TypeDef",nowLine);120 compiler.errorMessenger.Output(10,"TypeDef",nowLine); 121 121 return; 122 122 } … … 126 126 //識別子が重複している場合はエラーにする 127 127 if(lstrcmp(temporary,pTemp)==0){ 128 SetError(1,NULL,nowLine);128 compiler.errorMessenger.Output(1,NULL,nowLine); 129 129 return; 130 130 } … … 170 170 else if( basbuf[i] == 1 && basbuf[i+1] == ESC_ENDNAMESPACE ){ 171 171 if( namespaceScopes.size() <= 0 ){ 172 SetError(12, "End Namespace", i );172 compiler.errorMessenger.Output(12, "End Namespace", i ); 173 173 } 174 174 else{ … … 189 189 if( !compiler.GetNamespaceSupporter().ImportsNamespace( temporary ) ) 190 190 { 191 SetError(64,temporary,i );191 compiler.errorMessenger.Output(64,temporary,i ); 192 192 } 193 193
Note:
See TracChangeset
for help on using the changeset viewer.