BPackageInfo::Parser::_ParseFlags(): fix indentation

This commit is contained in:
Ingo Weinhold
2013-07-09 21:42:45 +02:00
parent 0361a1da73
commit 276c321bcd
+9 -9
View File
@@ -443,19 +443,19 @@ BPackageInfo::Parser::_ParseFlags()
virtual void operator()(const Token& token) virtual void operator()(const Token& token)
{ {
if (token.type != TOKEN_WORD) if (token.type != TOKEN_WORD)
throw ParseError("expected word (a flag)", token.pos); throw ParseError("expected word (a flag)", token.pos);
if (token.text.ICompare("approve_license") == 0) if (token.text.ICompare("approve_license") == 0)
flags |= B_PACKAGE_FLAG_APPROVE_LICENSE; flags |= B_PACKAGE_FLAG_APPROVE_LICENSE;
else if (token.text.ICompare("system_package") == 0) else if (token.text.ICompare("system_package") == 0)
flags |= B_PACKAGE_FLAG_SYSTEM_PACKAGE; flags |= B_PACKAGE_FLAG_SYSTEM_PACKAGE;
else { else {
throw ParseError( throw ParseError(
"expected 'approve_license' or 'system_package'", "expected 'approve_license' or 'system_package'",
token.pos); token.pos);
}
} }
}
} flagParser; } flagParser;
_ParseList(flagParser, true); _ParseList(flagParser, true);