summaryrefslogtreecommitdiff
path: root/src/tools/moc/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/moc/parser.h')
-rw-r--r--src/tools/moc/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/moc/parser.h b/src/tools/moc/parser.h
index ee8761108b..bedcbbf7e2 100644
--- a/src/tools/moc/parser.h
+++ b/src/tools/moc/parser.h
@@ -68,8 +68,8 @@ public:
inline QByteArray unquotedLexem() { return symbols.at(index-1).unquotedLexem();}
inline const Symbol &symbol() { return symbols.at(index-1);}
- void error(int rollback);
- void error(const char *msg = 0);
+ Q_NORETURN void error(int rollback);
+ Q_NORETURN void error(const char *msg = 0);
void warning(const char * = 0);
void note(const char * = 0);