This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH] Update comments to operator_check


On 07/25/2014 12:39 PM, Yao Qi wrote:
> Hello,
> I happen to read the code and find the comments to operator_check are
> incorrect.  This patch is to fix the comments per my understanding.
> The comments and field operator_check was added by this patch
> 
>   https://sourceware.org/ml/gdb-patches/2010-04/msg00556.html
> 
> but the inconsistency between code and comments wasn't pointed out during
> the review.

Yeah, IIUC, that code was originally based on:

 https://sourceware.org/ml/gdb-patches/2009-07/msg00054.html

> 
> gdb:
> 
> 2014-07-25  Yao Qi  <yao@codesourcery.com>
> 
> 	* parser-defs.h (struct exp_descriptor) <operator_check>: Update
> 	comments.
> 	* parse.c (exp_iterate): Update comments.

OK.

-- 
Thanks,
Pedro Alves


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