Changeset 461 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp
- Timestamp:
- Mar 23, 2008, 11:35:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp
r402 r461 1 1 #include "stdafx.h" 2 3 #include <jenga/include/smoothie/Smoothie.h>4 #include <jenga/include/smoothie/SmoothieException.h>5 2 6 3 #include <TypeDef.h> … … 13 10 { 14 11 if( !compiler.StringToType( baseName, baseType ) ){ 15 S moothieException::Throw(3, baseName, nowLine );12 SetError(3, baseName, nowLine ); 16 13 return; 17 14 } … … 90 87 91 88 if(expression[i]!='='){ 92 S moothieException::Throw(10,"TypeDef",nowLine);89 SetError(10,"TypeDef",nowLine); 93 90 return; 94 91 } … … 101 98 if(temporary[i]=='\0') break; 102 99 if( !( IsVariableChar( temporary[i], true) ) ){ 103 S moothieException::Throw(10,"TypeDef",nowLine);100 SetError(10,"TypeDef",nowLine); 104 101 return; 105 102 } … … 110 107 //関数ポインタ 111 108 if(pTemp[3]!='('){ 112 S moothieException::Throw(10,"TypeDef",nowLine);109 SetError(10,"TypeDef",nowLine); 113 110 return; 114 111 } … … 121 118 if( !( IsVariableChar( pTemp[i], true) ) ) 122 119 { 123 S moothieException::Throw(10,"TypeDef",nowLine);120 SetError(10,"TypeDef",nowLine); 124 121 return; 125 122 } … … 173 170 else if( basbuf[i] == 1 && basbuf[i+1] == ESC_ENDNAMESPACE ){ 174 171 if( namespaceScopes.size() <= 0 ){ 175 S moothieException::Throw(12, "End Namespace", i );172 SetError(12, "End Namespace", i ); 176 173 } 177 174 else{ … … 192 189 if( !compiler.GetNamespaceSupporter().ImportsNamespace( temporary ) ) 193 190 { 194 S moothieException::Throw(64,temporary,i );191 SetError(64,temporary,i ); 195 192 } 196 193
Note:
See TracChangeset
for help on using the changeset viewer.