Changeset 206 in dev for trunk/abdev/BasicCompiler64/Compile_Calc.cpp
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/Compile_Calc.cpp
r198 r206 1 #include "stdafx.h" 2 1 3 #include <jenga/include/smoothie/Smoothie.h> 2 4 #include <jenga/include/smoothie/LexicalAnalysis.h> … … 94 96 } 95 97 else{ 96 if(GetConstHash(variable)){ 98 if( compiler.GetMeta().GetGlobalConsts().IsExist(variable) 99 || compiler.GetMeta().GetGlobalConstMacros().IsExist(variable) ) 100 { 97 101 //定数リストに該当したとき 98 102 SetError(1,NULL,cp); … … 234 238 if( varType.IsObject() && compiler.GetMeta().GetBlittableTypes().IsExist( calcType ) ){ 235 239 // Blittable型をオブジェクトとして扱う 236 vector< UserProc *> userProcs;240 vector<const UserProc *> userProcs; 237 241 compiler.GetMeta().GetBlittableTypes().GetClass( calcType ).GetStaticMethods().Enum( "_Create", userProcs ); 238 242 if( userProcs.size() != 1 ){ … … 240 244 return; 241 245 } 242 UserProc *pUserProc = userProcs[0];246 const UserProc *pUserProc = userProcs[0]; 243 247 244 248 // mov rcx, rax
Note:
See TracChangeset
for help on using the changeset viewer.