all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
To: 34042@debbugs.gnu.org
Cc: ada-mode-users@nongnu.org
Subject: bug#34042: 26.1; ada-mode 6.0.0 reports false positives for syntax errors
Date: Fri, 11 Jan 2019 18:08:04 +0100	[thread overview]
Message-ID: <4189206c75c9d54a4328ba5f34ae8731@ludovic-brenta.org> (raw)

Package: emacs
Version: 26.1
X-Debbugs-CC: ada-mode-users@nongnu.org

When a subprogram body lacks a designator on its "end" line,
ada-mode 6.0.0 incorrectly reports that the line containing the
subprogram_specification contains a syntax error. Example:

procedure Foo is
begin
   null;
end;

C-c C-f jumps to Foo and says:
foo.ada:1:11: block name error foo.ada:1:1

Is there an option to make the parser happy?

-- 
Ludovic Brenta.





             reply	other threads:[~2019-01-11 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-11 17:08 Ludovic Brenta [this message]
2019-12-13 13:34 ` bug#34042: 26.1; ada-mode 6.0.0 reports false positives for syntax errors Ludovic Brenta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4189206c75c9d54a4328ba5f34ae8731@ludovic-brenta.org \
    --to=ludovic@ludovic-brenta.org \
    --cc=34042@debbugs.gnu.org \
    --cc=ada-mode-users@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.