diff options
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.cc b/src/html.cc index c0d4d388..323b7b1e 100644 --- a/src/html.cc +++ b/src/html.cc @@ -3555,6 +3555,8 @@ static const TagInfo Tags[] = { }; #define NTAGS (sizeof(Tags)/sizeof(Tags[0])) +static_assert(NTAGS == HTML_NTAGS, + "Mismatch between number of tags in Tags and HTML_NTAGS"); /* * Compares tag from buffer ('/' or '>' or space-ended string) [p1] |