Skip to content

Commit

Permalink
moved assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirco Schoenfeld committed Jul 11, 2019
1 parent 8f4ee6b commit 1e8c3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/bibtex.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ static void parseBibFile (tokenInfo *const token)

static void initialize (const langType language)
{
Assert (ARRAY_SIZE (BibKinds) == BIBTAG_COUNT);
Lang_bib = language;
}

Expand All @@ -409,6 +408,7 @@ static void findBibTags (void)
/* Create parser definition structure */
extern parserDefinition* BibtexParser (void)
{
Assert (ARRAY_SIZE (BibKinds) == BIBTAG_COUNT);
static const char *const extensions [] = { "bib", NULL };
parserDefinition *const def = parserNew ("BibTex");
def->extensions = extensions;
Expand Down

0 comments on commit 1e8c3f2

Please sign in to comment.