Changeset 103 in dev for BasicCompiler_Common/VariableOpe.cpp
- Timestamp:
- May 2, 2007, 4:08:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/VariableOpe.cpp
r97 r103 1045 1045 bool isConst = ( dwFlag & DIMFLAG_CONST ) ? true:false; 1046 1046 1047 Variable *pVar = new Variable( name, type, isConst );1047 Variable *pVar = new Variable( Smoothie::Lexical::liveingNamespaceScopes, name, type, isConst ); 1048 1048 1049 1049 if( SubScripts[0] != -1 ){ … … 1172 1172 1173 1173 //定数と2重定義されていないる場合は抜け出す 1174 if(CDBConst::obj.Get Type(VarName)){1174 if(CDBConst::obj.GetBasicType(VarName)){ 1175 1175 return; 1176 1176 } … … 1192 1192 1193 1193 //定数と2重定義されていないかを調べる 1194 if(CDBConst::obj.Get Type(VarName)){1194 if(CDBConst::obj.GetBasicType(VarName)){ 1195 1195 SetError(15,VarName,cp); 1196 1196 return;
Note:
See TracChangeset
for help on using the changeset viewer.