This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Plugin, pragmas and braces


Hi,

I am trying to write a gcc plugin to manage c code included in braces and 
annotated with pragmas, like openmp pragmas.
Something like this
#pragma my_pragma
{
   /** Code */
   ...
}

Is there any way to trigger a function/identify the end of the block annotated 
by the pragma (i.e., the closing brace)?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]