Ignore:
Timestamp:
Sep 10, 2008, 1:53:07 AM (16 years ago)
Author:
dai
Message:
  • Compiler::AddStringToDataTableメソッドを実装。
  • ToWStringメソッドの内部予備バッファを増やした。
File:
1 edited

Legend:

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

    r735 r745  
    7676
    7777    return globalAreaProcName;
     78}
     79
     80int Compiler::AddStringToDataTable( const std::string &text )
     81{
     82    if( this->IsUnicode() )
     83    {
     84        return this->GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( text ) );
     85    }
     86    else
     87    {
     88        return this->GetObjectModule().dataTable.AddString( text );
     89    }
    7890}
    7991
Note: See TracChangeset for help on using the changeset viewer.