Ignore:
Timestamp:
Mar 23, 2008, 11:35:33 AM (16 years ago)
Author:
dai_9181
Message:

smoothieプロジェクトが不要になったため、破棄。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp

    r402 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    4 #include <jenga/include/smoothie/SmoothieException.h>
    52
    63#include <TypeDef.h>
     
    1310{
    1411    if( !compiler.StringToType( baseName, baseType ) ){
    15         SmoothieException::Throw(3, baseName, nowLine );
     12        SetError(3, baseName, nowLine );
    1613        return;
    1714    }
     
    9087
    9188    if(expression[i]!='='){
    92         SmoothieException::Throw(10,"TypeDef",nowLine);
     89        SetError(10,"TypeDef",nowLine);
    9390        return;
    9491    }
     
    10198        if(temporary[i]=='\0') break;
    10299        if( !( IsVariableChar( temporary[i], true) ) ){
    103             SmoothieException::Throw(10,"TypeDef",nowLine);
     100            SetError(10,"TypeDef",nowLine);
    104101            return;
    105102        }
     
    110107        //関数ポインタ
    111108        if(pTemp[3]!='('){
    112             SmoothieException::Throw(10,"TypeDef",nowLine);
     109            SetError(10,"TypeDef",nowLine);
    113110            return;
    114111        }
     
    121118            if( !( IsVariableChar( pTemp[i], true) ) )
    122119            {
    123                 SmoothieException::Throw(10,"TypeDef",nowLine);
     120                SetError(10,"TypeDef",nowLine);
    124121                return;
    125122            }
     
    173170        else if( basbuf[i] == 1 && basbuf[i+1] == ESC_ENDNAMESPACE ){
    174171            if( namespaceScopes.size() <= 0 ){
    175                 SmoothieException::Throw(12, "End Namespace", i );
     172                SetError(12, "End Namespace", i );
    176173            }
    177174            else{
     
    192189            if( !compiler.GetNamespaceSupporter().ImportsNamespace( temporary ) )
    193190            {
    194                 SmoothieException::Throw(64,temporary,i );
     191                SetError(64,temporary,i );
    195192            }
    196193
Note: See TracChangeset for help on using the changeset viewer.