This is the mail archive of the gcc-patches@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]

Re: [libcpp] RFA: Add support for comments retrieval


> +typedef struct
> +{
> +  const char *comment;   /* string containing comment at a given location.  */

Should be

  /* Text of the comment including (or is it excluding?) the
     terminators.  */
  const char *comment;

  /* Source location for the given comment.  */
  source_location sloc;

... and likewise for the other struct.

Thanks,

Paolo


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