This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH] Fix completion for pascal language
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 6 Dec 2013 09:43:28 +0100
- Subject: RE: [PATCH] Fix completion for pascal language
- Authentication-results: sourceware.org; auth=none
- References: <007a01ceebd8$5bbdc5f0$133951d0$ at muller@ics-cnrs.unistra.fr>
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Pierre Muller
> Envoyé : jeudi 28 novembre 2013 02:23
> À : gdb-patches@sourceware.org
> Objet : [PATCH] Fix completion for pascal language
>
> Pascal language completer is broken
> since a long time...
>
> This patch allows me to get it to work again.
>
> If there are no objections, I will commit this is a few days,
> as pascal language maintainer.
> But of course, all comments are welcome.
>
> Pierre Muller
>
> PS: Is there a 'standard' way to specify lexical rules
> in Changelog's?
>
> ChangeLog entry:
>
> 2013-11-27 Pierre Muller <muller@sourceware.org>
>
> Fix completion for pascal language.
> * p-exp.y (exp : field_exp name): Do not call
mark_struct_expression.
> (exp : field_exp name COMPLETE): New rule.
> (exp : SIZEOF): Set correct current_type.
> (last_was_structop): Remove static variable.
> (yylex): Remove saw_structop local variable.
> Adapt code to removal of variables above.
As there was no reaction to that email,
I have just committed this patch.
This is the first time I push a patch using git,
I hope I did nothing wrong...
Pierre