* ada-lex.l (task): Expand rule to also match the thread keyword.
2010-01-01 Joel Brobecker <brobecker@adacore.com>
+ Fix break *FUN'address thread NUM.
+ * ada-lex.l (task): Expand rule to also match the thread keyword.
+
+2010-01-01 Joel Brobecker <brobecker@adacore.com>
+
Fix break *FUN'address task NUM.
* ada-lex.l (task): New rule.
* ada-lang.c (valid_task_id): Make sure the Ada task list has
return 0;
}
-task {
+(task|thread) {
+ /* This keyword signals the end of the expression and
+ will be processed separately. */
while (*lexptr != 't' && *lexptr != 'T')
lexptr--;
yyrestart(NULL);