Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.

This commit is contained in:
Roberto Raggi
2010-12-16 12:05:48 +01:00
parent 63522a04e5
commit b4e421062f
83 changed files with 135 additions and 135 deletions

View File

@@ -70,9 +70,9 @@ public:
WarnUseBeforeDeclaration = 1 << 8,
WarnDuplicateDeclaration = 1 << 9,
WarnDeclarationsNotStartOfFunction = 1 << 10,
WarnCaseWithoutFlowControlEnd = 1 << 11,
WarnCaseWithoutFlowControlEnd = 1 << 11
};
Q_DECLARE_FLAGS(Options, Option);
Q_DECLARE_FLAGS(Options, Option)
protected:
virtual bool preVisit(AST::Node *ast);

View File

@@ -169,7 +169,7 @@ public: // must be public to make Q_GADGET introspection work
switch_statement, // After 'switch' token
case_start, // after a 'case' or 'default' token
case_cont, // after the colon in a case/default
case_cont // after the colon in a case/default
};
Q_ENUMS(StateType)
@@ -233,7 +233,7 @@ protected:
Question,
PlusPlus,
MinusMinus,
MinusMinus
};
TokenKind extendedTokenKind(const QmlJS::Token &token) const;