minor change

This commit is contained in:
Roy Qu 2023-02-13 11:14:28 +08:00
parent aaae910c59
commit d484c790a2
2 changed files with 6 additions and 12 deletions

View File

@ -178,17 +178,6 @@ bool Project::unitsModifiedSince(const QDateTime& time)
bool Project::modified() const bool Project::modified() const
{ {
return mModified; return mModified;
// Project file modified? Done
// if (mModified)
// return true;// quick exit avoids loop over all units
// // Otherwise, check all units
// foreach (const PProjectUnit& unit, mUnits){
// if (unit->modified()) {
// return true;
// }
// }
// return false;
} }
bool Project::modifiedSince(const QDateTime &time) bool Project::modifiedSince(const QDateTime &time)

View File

@ -518,8 +518,13 @@ void ASMSyntaxer::next()
case '/': case '/':
SlashProc(); SlashProc();
break; break;
case '#':
case ';': case ';':
if (mATT) {
SymbolProc();
} else
CommentProc();
break;
case '#':
CommentProc(); CommentProc();
break; break;
case '.': case '.':