Changeset 579 in dev for trunk/ab5.0/abdev/compiler_x86/NumOpe.cpp
- Timestamp:
- May 8, 2008, 3:27:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x86/NumOpe.cpp
r578 r579 515 515 } 516 516 517 ConstMacro *pConstMacro = compiler.GetObjectModule().meta.GetGlobalConstMacros().Find( procName ); 517 ConstMacro *pConstMacro = compiler.GetObjectModule().meta.GetGlobalConstMacros().Find( 518 ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( procName ) 519 ); 518 520 if( pConstMacro ) 519 521 { … … 1043 1045 ////////////// 1044 1046 1045 i3 = compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType(term); 1047 i3 = compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType( 1048 ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term ) 1049 ); 1046 1050 if(i3){ 1047 if( compiler.GetObjectModule().meta.GetGlobalConsts().IsStringPtr( term) ){1051 if( compiler.GetObjectModule().meta.GetGlobalConsts().IsStringPtr( ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term ) ) ){ 1048 1052 //リテラル文字列 1049 1053 … … 1063 1067 } 1064 1068 1065 double dbl = compiler.GetObjectModule().meta.GetGlobalConsts().GetDoubleData(term); 1069 double dbl = compiler.GetObjectModule().meta.GetGlobalConsts().GetDoubleData( 1070 ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term ) 1071 ); 1066 1072 memcpy(&i64data,&dbl,sizeof(double)); 1067 1073 … … 1077 1083 if(IsRealNumberType(i3)){ 1078 1084 //実数 1079 double dbl = compiler.GetObjectModule().meta.GetGlobalConsts().GetDoubleData(term); 1085 double dbl = compiler.GetObjectModule().meta.GetGlobalConsts().GetDoubleData( 1086 ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term ) 1087 ); 1080 1088 memcpy(&i64data,&dbl,sizeof(double)); 1081 1089 goto Literal; … … 1083 1091 else if(IsWholeNumberType(i3)){ 1084 1092 //整数 1085 i64data = compiler.GetObjectModule().meta.GetGlobalConsts().GetWholeData(term); 1093 i64data = compiler.GetObjectModule().meta.GetGlobalConsts().GetWholeData( 1094 ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term ) 1095 ); 1086 1096 goto Literal; 1087 1097 }
Note:
See TracChangeset
for help on using the changeset viewer.