Skip to content

Commit

Permalink
Warn about unmatched <ignore> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Dec 12, 2023
1 parent 70e56ec commit 286a127
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/NSLock.m
Original file line number Diff line number Diff line change
Expand Up @@ -1067,5 +1067,7 @@ + (id) allocWithZone: (NSZone*)z
return gs_cond_timedwait(cond, mutex, INFINITE);
}

/** </ignore>
*/
#endif /* GS_USE_WIN32_THREADS_AND_LOCKS */

4 changes: 4 additions & 0 deletions Tools/AGSParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,10 @@ - (unsigned) parseComment
}
}
}
if (ignore)
{
[self log: @"unmatched <ignore> tag"];
}
}
return pos;
}
Expand Down

0 comments on commit 286a127

Please sign in to comment.