mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
parent
8eb736b23b
commit
4f3734f024
@ -1142,8 +1142,9 @@ bool TextClass::readCiteEngine(Lexer & lexrc)
|
||||
|
||||
int TextClass::readCiteEngineType(Lexer & lexrc) const
|
||||
{
|
||||
LATTEST(ENGINE_TYPE_DEFAULT ==
|
||||
(ENGINE_TYPE_AUTHORYEAR | ENGINE_TYPE_NUMERICAL));
|
||||
static_assert(ENGINE_TYPE_DEFAULT ==
|
||||
(ENGINE_TYPE_AUTHORYEAR | ENGINE_TYPE_NUMERICAL),
|
||||
"Incorrect default engine type");
|
||||
if (!lexrc.next()) {
|
||||
lexrc.printError("No cite engine type given for token: `$$Token'.");
|
||||
return ENGINE_TYPE_DEFAULT;
|
||||
|
Loading…
Reference in New Issue
Block a user