Ignore:
Timestamp:
Jun 25, 2007, 4:22:39 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jenga/src/smoothie/TypeDef.cpp

    r181 r186  
    1010{
    1111    if( !Type::StringToType( baseName, baseType ) ){
    12         throw SmoothieException(3, baseName, nowLine );
     12        SmoothieException::Throw(3, baseName, nowLine );
    1313        return;
    1414    }
     
    8989
    9090    if(expression[i]!='='){
    91         throw SmoothieException(10,"TypeDef",nowLine);
     91        SmoothieException::Throw(10,"TypeDef",nowLine);
    9292        return;
    9393    }
     
    100100        if(temporary[i]=='\0') break;
    101101        if(!IsVariableChar(temporary[i])){
    102             throw SmoothieException(10,"TypeDef",nowLine);
     102            SmoothieException::Throw(10,"TypeDef",nowLine);
    103103            return;
    104104        }
     
    109109        //関数ポインタ
    110110        if(pTemp[3]!='('){
    111             throw SmoothieException(10,"TypeDef",nowLine);
     111            SmoothieException::Throw(10,"TypeDef",nowLine);
    112112            return;
    113113        }
     
    119119            if(pTemp[i]=='\0') break;
    120120            if(!IsVariableChar(pTemp[i])){
    121                 throw SmoothieException(10,"TypeDef",nowLine);
     121                SmoothieException::Throw(10,"TypeDef",nowLine);
    122122                return;
    123123            }
     
    127127    //識別子が重複している場合はエラーにする
    128128    if(lstrcmp(temporary,pTemp)==0){
    129         throw SmoothieException(1,NULL,nowLine);
     129        SmoothieException::Throw(1,NULL,nowLine);
    130130        return;
    131131    }
     
    173173        else if( basbuf[i] == 1 && basbuf[i+1] == ESC_ENDNAMESPACE ){
    174174            if( namespaceScopes.size() <= 0 ){
    175                 throw SmoothieException(12, "End Namespace", i );
     175                SmoothieException::Throw(12, "End Namespace", i );
    176176            }
    177177            else{
     
    192192            if( !importedNamespaces.Imports( temporary ) )
    193193            {
    194                 throw SmoothieException(64,temporary,i );
     194                SmoothieException::Throw(64,temporary,i );
    195195            }
    196196
Note: See TracChangeset for help on using the changeset viewer.