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: [gfortran] Remove gfc_current_locus() and gfc_set_locus() (Followup to scanner rewrite)


On Monday 17 May 2004 15:06, Tobias Schlüter wrote:
> This mechanical patch removes gfc_current_locus() and gfc_set_locus, and
> replaces their uses by the global variable gfc_current_locus, formerly
> named gfc_current_locus1.
>
> This meant performing three replacements:
> 1. x = *gfc_current_locus () -> x = gfc_current_locus
> 2. x = gfc_current_locus () -> x = &gfc_current_locus
> 3. gfc_set_locus (x) -> gfc_current_locus = *x

Ok.

Paul


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