Ignore:
Timestamp:
Jul 13, 2008, 2:23:09 AM (15 years ago)
Author:
dai_9181
Message:

・WithInfo周りをリファクタリング。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/Opcode.h

    r673 r684  
    2828
    2929//With情報
    30 struct WITHINFO{
    31     char **ppName;
    32     int *pWithCp;
    33     int num;
     30struct WithInfo
     31{
     32    std::string name;
     33    int sourceCodePos;
     34
     35    WithInfo( const std::string &name, int sourceCodePos )
     36        : name( name )
     37        , sourceCodePos( sourceCodePos )
     38    {
     39    }
    3440};
     41typedef std::vector<WithInfo> WithInfos;
    3542
    3643
Note: See TracChangeset for help on using the changeset viewer.