Skip to content
Snippets Groups Projects
Commit b9ee2233 authored by Joel Brobecker's avatar Joel Brobecker
Browse files

Fix break *FUN'address thread NUM.

        * ada-lex.l (task): Expand rule to also match the thread keyword.
parent 70575d34
No related branches found
No related tags found
No related merge requests found
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.
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment