Hello, my name is Eduardo Cruz. I am an studen.t of Computer Science
at the State University of Maringa, in Brazil.
One of our teachers gave us a work in wich we are supposed to modify
the c language to support some parallel programming stuff.
I want to modify the gcc c frontend to support these
hey, could you guys explain me something?
in c-parser.c
in c_parser_direct_declarator, when a function name is being parsed, this if:
if (c_parser_next_token_is (parser, CPP_OPEN_PAREN))
is true, and inside this if:
c_parser_consume_token (parser);
attrs = c_parser_attributes (parse
does the function lookup_name distinguish the identifier between
different contexts?
for example
void func1()
{
int foo;
}
void func2()
{
int foo;
}
if I call lookup_name with the foo ident-tree while parsing these
functions, will it return different decl-tree nodes?
thanks
> I assume you mean the function in the C frontend, in c-decl.c.
thats correct!
thanks a lot!
2009/4/7 Ian Lance Taylor :
> Eduardo Cruz writes:
>
>> does the function lookup_name distinguish the identifier between
>> different contexts?
>
> I assume you mean the fun