From b9ee22330a920efacc6d8fabe366a77cdfd414e1 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 1 Jan 2010 06:29:10 +0000 Subject: Fix break *FUN'address thread NUM. * ada-lex.l (task): Expand rule to also match the thread keyword. --- gdb/ada-lex.l | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/ada-lex.l') diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index e16acb5..0ef7e70 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -160,7 +160,9 @@ if { 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); -- cgit v1.1