[Uml-devel] kdesdk/umbrello/umbrello/classparser

Oliver Kellogg okellogg at users.sourceforge.net
Sun Dec 14 22:54:01 UTC 2003


CVS commit by okellogg: 

fillInParsedMethod(): Set the isPure flag for abstract methods.


  M +9 -0      ClassParser.cc   1.5


--- kdesdk/umbrello/umbrello/classparser/ClassParser.cc  #1.4:1.5
@@ -1053,4 +1053,13 @@ void CClassParser::fillInParsedMethod(CP
   }
 
+  // Abstractness
+  if (lexem == '=') {
+    getNextLexem();
+    if (lexem == NUM) {
+      aMethod->setIsPure(true);
+      getNextLexem();
+    }
+  }
+
   // Other initializers
   if( lexem == ':' )






More information about the umbrello-devel mailing list