Changeset 92 in dev for BasicCompiler_Common/Class.cpp
- Timestamp:
- Apr 8, 2007, 2:07:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.cpp
r91 r92 607 607 608 608 609 609 610 ////////////////////////////////////// 610 611 // 存在しないときは新たに生成する … … 626 627 ppsi[i2]=0; 627 628 } 628 else ppsi[i2]=method->pUserProc; 629 else{ 630 ppsi[i2]=method->pUserProc; 631 } 629 632 i2++; 630 633 } … … 886 889 } 887 890 891 bool isEnum = false; 892 if( basbuf[i] == 1 && basbuf[i+1] == ESC_ENUM ){ 893 // 列挙型の場合 894 isEnum = true; 895 896 i+=2; 897 } 898 888 899 int i2; 889 900 char temporary[VN_SIZE]; … … 900 911 if( pClass ){ 901 912 if( basbuf[nowLine+1] == ESC_CLASS ){ 902 pClass->classType = CClass::Class; 913 if( isEnum ){ 914 pClass->classType = CClass::Enum; 915 } 916 else{ 917 pClass->classType = CClass::Class; 918 } 903 919 } 904 920 else if( basbuf[nowLine+1] == ESC_INTERFACE ){ … … 1221 1237 } 1222 1238 1239 if( basbuf[i] == 1 && basbuf[i+1] == ESC_ENUM ){ 1240 // 列挙型の場合 1241 i+=2; 1242 } 1223 1243 1224 1244 //クラス名を取得
Note:
See TracChangeset
for help on using the changeset viewer.