Changeset 327 in dev for trunk/abdev/BasicCompiler_Common/Enum.cpp
- Timestamp:
- Sep 25, 2007, 9:23:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Enum.cpp
r322 r327 225 225 } 226 226 227 sprintf(buffer+length,"\tFunction Operator or (enumBase As %s) As %s\n",parent->GetName().c_str(),parent->GetName().c_str()); 228 length+=lstrlen(buffer+length); 229 sprintf(buffer+length,"\t\tReturn New %s(This.value or enumBase.value, \"custom\")\n",parent->GetName().c_str()); 230 length+=lstrlen(buffer+length); 231 lstrcpy(buffer+length,"\tEnd Function\n"); 232 length+=lstrlen(buffer+length); 233 234 sprintf(buffer+length,"\tFunction Operator and (enumBase As %s) As %s\n",parent->GetName().c_str(),parent->GetName().c_str()); 235 length+=lstrlen(buffer+length); 236 sprintf(buffer+length,"\t\tReturn New %s(This.value and enumBase.value, \"custom\")\n",parent->GetName().c_str()); 237 length+=lstrlen(buffer+length); 238 lstrcpy(buffer+length,"\tEnd Function\n"); 239 length+=lstrlen(buffer+length); 240 227 241 /* 228 242 sprintf(buffer+length,"\tOverride Function ToString() As String\n",parent->TypeName);
Note:
See TracChangeset
for help on using the changeset viewer.