Changeset 699 in dev for trunk/ab5.0


Ignore:
Timestamp:
Jul 21, 2008, 12:57:10 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

VN_SIZEが小さくてControlがコンパイルできなかったので、増量(_TermOpe関数でエラーになるのでそこを直したが、それだけではだめだった)。

Location:
trunk/ab5.0/abdev
Files:
4 edited

Legend:

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

    r686 r699  
    77#endif
    88
    9 int GetCallProcName(char *buffer,char *name){
     9int GetCallProcName(const char *buffer,char *name){
    1010    int i2,i3,IsStr=0;
    1111
  • trunk/ab5.0/abdev/BasicCompiler_Common/VariableOpe.cpp

    r684 r699  
    188188}
    189189
     190void GetWithName(std::string& buffer){
     191    extern WithInfos withInfos;
     192    std::string tmp;
     193    tmp.reserve(1024);
     194    BOOST_FOREACH( const WithInfo &withInfo, withInfos )
     195    {
     196        tmp+=withInfo.name;
     197    }
     198    tmp.swap(buffer);
     199}
    190200
    191201void GetArrange(char *variable,char *variAnswer, Subscripts &subscripts ){
  • trunk/ab5.0/abdev/BasicCompiler_Common/common.h

    r648 r699  
    346346
    347347//Subroutine.cpp
    348 int GetCallProcName(char *buffer,char *name);
     348int GetCallProcName(const char *buffer,char *name);
    349349int GetProc(char *name,void **ppInfo);
    350350void SplitObjectName(const char *name,char *ObjectName, ReferenceKind &referenceFind );
  • trunk/ab5.0/abdev/ab_common/include/Lexical/TypeMisc.h

    r600 r699  
    11#pragma once
    22
    3 #define VN_SIZE         1024
     3#define VN_SIZE         4096
    44#define PTR_SIZE        sizeof(LONG_PTR)
    55
Note: See TracChangeset for help on using the changeset viewer.