Changeset 47 in dev for BasicCompiler_Common/Enum.cpp
- Timestamp:
- Feb 10, 2007, 3:12:04 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Enum.cpp
r29 r47 161 161 lstrcpy(buffer+length,"\tEnd Sub\n"); 162 162 length+=lstrlen(buffer+length); 163 sprintf(buffer+length,"\tSub %s(ByRef e As %s)\n",parent->TypeName,parent->TypeName); 164 length+=lstrlen(buffer+length); 165 lstrcpy(buffer+length,"\t\tEnumBase(e.m_Value)\n"); 166 length+=lstrlen(buffer+length); 167 lstrcpy(buffer+length,"\tEnd Sub\n"); 168 length+=lstrlen(buffer+length); 163 169 sprintf(buffer+length,"\tSub %s(value As Long)\n",parent->TypeName); 164 170 length+=lstrlen(buffer+length); … … 233 239 length+=lstrlen(buffer+length); 234 240 241 sprintf(buffer+length,"\tFunction Operator== (ByRef e As %s) As Boolean\n",parent->TypeName); 242 length+=lstrlen(buffer+length); 243 lstrcpy(buffer+length,"\t\tReturn ( e.m_Value = m_Value )\n"); 244 length+=lstrlen(buffer+length); 245 lstrcpy(buffer+length,"\tEnd Function\n"); 246 length+=lstrlen(buffer+length); 247 235 248 lstrcpy(buffer+length,"End Class\n"); 236 249 length+=lstrlen(buffer+length);
Note:
See TracChangeset
for help on using the changeset viewer.