Replaced getAssignmentStatements in project.cpp

I replaced the function from advancedParserClasses to project.cpp. Does
not fix it though...