mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
fix compiler warnings in pedantic mode: remove trailing comma after last enum member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36923 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4fe5321be9
commit
c7e6a677c4
@ -133,8 +133,8 @@ public:
|
||||
* FIXME: replace this method with support/FileMonitor.
|
||||
*/
|
||||
enum CheckMethod {
|
||||
checksum_method, ///< Use file checksum
|
||||
timestamp_method, ///< Use timestamp, and checksum if timestamp has changed
|
||||
checksum_method, ///< Use file checksum
|
||||
timestamp_method ///< Use timestamp, and checksum if timestamp has changed
|
||||
};
|
||||
|
||||
///
|
||||
|
@ -825,7 +825,7 @@ void Encodings::read(FileName const & encfile, FileName const & symbolsfile)
|
||||
// Now read the encodings
|
||||
enum {
|
||||
et_encoding = 1,
|
||||
et_end,
|
||||
et_end
|
||||
};
|
||||
|
||||
LexerKeyword encodingtags[] = {
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
/// Some formats are both (e.g. pdf), they have this flag set.
|
||||
document = 1,
|
||||
/// Set if this format can contain vector graphics.
|
||||
vector = 2,
|
||||
vector = 2
|
||||
};
|
||||
///
|
||||
Format(std::string const & n, std::string const & e, std::string const & p,
|
||||
|
@ -247,7 +247,7 @@ bool KeyMap::read(FileName const & bind_file, KeyMap * unbind_map)
|
||||
enum {
|
||||
BN_BIND,
|
||||
BN_BINDFILE,
|
||||
BN_UNBIND,
|
||||
BN_UNBIND
|
||||
};
|
||||
|
||||
LexerKeyword bindTags[] = {
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
Math, //< Mathematics
|
||||
Buffer, //< Buffer and window related
|
||||
Layout, //< Font, Layout and textclass related
|
||||
System, //< Lyx preference, server etc
|
||||
System //< Lyx preference, server etc
|
||||
};
|
||||
|
||||
private:
|
||||
@ -65,7 +65,7 @@ public:
|
||||
NoUpdate = 8, //< Does not (usually) require update
|
||||
SingleParUpdate = 16, //< Usually only requires this par updated
|
||||
AtPoint = 32, //< dispatch first to inset at cursor if there is one
|
||||
NoInternal = 64, //< Cannot be used for internal, non-document Buffers
|
||||
NoInternal = 64 //< Cannot be used for internal, non-document Buffers
|
||||
};
|
||||
|
||||
LyXAction();
|
||||
|
@ -170,7 +170,7 @@ enum {
|
||||
KCOMB = 1,
|
||||
KMOD,
|
||||
KMAP,
|
||||
KXMOD,
|
||||
KXMOD
|
||||
};
|
||||
|
||||
|
||||
|
@ -161,7 +161,7 @@ public:
|
||||
to minimise problems to users by supplying an anything-goes policy via a
|
||||
preprocessor directive.
|
||||
*/
|
||||
IgnorantPolicy,
|
||||
IgnorantPolicy
|
||||
};
|
||||
|
||||
/// Constructor
|
||||
|
@ -66,7 +66,7 @@ private:
|
||||
///
|
||||
INCLUDE,
|
||||
///
|
||||
LISTINGS,
|
||||
LISTINGS
|
||||
};
|
||||
///
|
||||
void updateLists();
|
||||
|
@ -1885,7 +1885,7 @@ void Menus::read(Lexer & lex)
|
||||
enum {
|
||||
md_menu,
|
||||
md_menubar,
|
||||
md_endmenuset,
|
||||
md_endmenuset
|
||||
};
|
||||
|
||||
LexerKeyword menutags[] = {
|
||||
|
@ -74,7 +74,7 @@ ToolbarInfo & ToolbarInfo::read(Lexer & lex)
|
||||
TO_EXPORTFORMATS,
|
||||
TO_IMPORTFORMATS,
|
||||
TO_UPDATEFORMATS,
|
||||
TO_VIEWFORMATS,
|
||||
TO_VIEWFORMATS
|
||||
};
|
||||
|
||||
struct LexerKeyword toolTags[] = {
|
||||
@ -267,7 +267,7 @@ void Toolbars::readToolbars(Lexer & lex)
|
||||
{
|
||||
enum {
|
||||
TO_TOOLBAR = 1,
|
||||
TO_ENDTOOLBARSET,
|
||||
TO_ENDTOOLBARSET
|
||||
};
|
||||
|
||||
struct LexerKeyword toolTags[] = {
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
enum EntryDirection {
|
||||
ENTRY_DIRECTION_IGNORE,
|
||||
ENTRY_DIRECTION_RIGHT,
|
||||
ENTRY_DIRECTION_LEFT,
|
||||
ENTRY_DIRECTION_LEFT
|
||||
};
|
||||
///
|
||||
typedef ptrdiff_t difference_type;
|
||||
|
@ -227,7 +227,7 @@ enum InsetCode {
|
||||
///
|
||||
SCRIPT_CODE,
|
||||
///
|
||||
INSET_CODE_SIZE,
|
||||
INSET_CODE_SIZE
|
||||
};
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
MENU_INFO, // Which menu item is used for certain function
|
||||
ICON_INFO, // which toolbar icon is used for certain function
|
||||
BUFFER_INFO, // Buffer related information
|
||||
LYX_INFO, // LyX version information
|
||||
LYX_INFO // LyX version information
|
||||
};
|
||||
|
||||
///
|
||||
|
@ -36,7 +36,7 @@ enum param_type {
|
||||
INTEGER, // accept an integer
|
||||
LENGTH, // accept a latex length
|
||||
ONEOF, // accept one of a few values
|
||||
SUBSETOF, // accept a string composed of given characters
|
||||
SUBSETOF // accept a string composed of given characters
|
||||
};
|
||||
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
/// breakable slash
|
||||
SLASH,
|
||||
/// protected dash
|
||||
NOBREAKDASH,
|
||||
NOBREAKDASH
|
||||
};
|
||||
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user