On Tue, Nov 19, 2013 at 04:54:29PM +0000, Iyer, Balaji V wrote:
> I just need a clarification, so I am sorry if I am making you repeat:
> 
> Right now, the array of tokens (vec<c_token> elem_fn_tokens) is passed in
> as a parameter and then passed back to the c_parser_declaration_or_fndef
> function.
> 
> Instead of that, you would like this information to be stored in
> parser->specs (using the c_parser_declspecs function) and then have my own

No, somewhere in *parser, it can be a new field with vector of the
vec<c_token, va_gc> vectors or similar and store something that can be
used to find that out into vector attribute argument.  Then at the spot
where the #pragma omp declare simd tokens are parsed right now (when
arguments are finally available) you could look up the vector attribute
and parse the corresponding tokens.

        Jakub

Reply via email to