Made foreach a keyword when parsing with qtMocRun

This commit is contained in:
Roberto Raggi
2009-07-03 11:00:36 +02:00
parent 3cdd48067c
commit b2df9bddec
3 changed files with 18 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ static const char *token_names[] = {
("@protected"), ("@protocol"), ("@public"), ("@required"), ("@selector"),
("@synchronized"), ("@synthesize"), ("@throw"), ("@try"),
("SIGNAL"), ("SLOT"), ("Q_SIGNAL"), ("Q_SLOT"), ("signals"), ("slots")
("SIGNAL"), ("SLOT"), ("Q_SIGNAL"), ("Q_SLOT"), ("signals"), ("slots"), ("Q_FOREACH")
};
Token::Token() :