Changeset 600 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Const.cpp
- Timestamp:
- May 10, 2008, 8:50:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Const.cpp
r579 r600 173 173 // 定数 174 174 const char *expression = temporary + i2 + 1; 175 consts.Add( namespaceScopes, name, expression ); 175 176 _int64 i64data; 177 Type resultType; 178 if( StaticCalculation(false, expression, 0, &i64data, resultType) ) 179 { 180 consts.Add( namespaceScopes, name, i64data, resultType ); 181 } 176 182 } 177 183 else
Note:
See TracChangeset
for help on using the changeset viewer.