Ignore:
Timestamp:
Nov 12, 2007, 8:40:20 AM (16 years ago)
Author:
dai_9181
Message:

Classes::Insertメソッド内のエラー発生部分でコード位置情報を不正な値になっていたバグを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/Class.cpp

    r355 r369  
    10851085    return new CClass(namespaceScopes, importedNamespaces, name);
    10861086}
    1087 bool Classes::Insert( CClass *pClass )
     1087bool Classes::Insert( CClass *pClass, int nowLine )
    10881088{
    10891089    /////////////////////////////////
     
    10931093    if( !Put( pClass ) )
    10941094    {
    1095         SetError(15,pClass->GetName(), cp);
     1095        SetError(15,pClass->GetName(), nowLine);
    10961096        return false;
    10971097    }
     
    11061106    CClass *pClass = Create(namespaceScopes, importedNamespaces, name);
    11071107
    1108     if( !Insert( pClass ) )
     1108    if( !Insert( pClass, nowLine ) )
    11091109    {
    11101110        return NULL;
Note: See TracChangeset for help on using the changeset viewer.