emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34042: closed (26.1; ada-mode 6.0.0 reports false positives for synt


From: GNU bug Tracking System
Subject: bug#34042: closed (26.1; ada-mode 6.0.0 reports false positives for syntax errors)
Date: Fri, 13 Dec 2019 13:35:02 +0000

Your message dated Fri, 13 Dec 2019 14:34:45 +0100
with message-id <address@hidden>
and subject line Re: bug#34042: 26.1; ada-mode 6.0.0 reports false positives 
for syntax errors
has caused the debbugs.gnu.org bug report #34042,
regarding 26.1; ada-mode 6.0.0 reports false positives for syntax errors
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
34042: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34042
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.1; ada-mode 6.0.0 reports false positives for syntax errors Date: Fri, 11 Jan 2019 18:08:04 +0100
Package: emacs
Version: 26.1
X-Debbugs-CC: address@hidden

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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#34042: 26.1; ada-mode 6.0.0 reports false positives for syntax errors Date: Fri, 13 Dec 2019 14:34:45 +0100
tags 34042 notabug
thanks

The variable ada-end-name-optional, when t, suppresses the
syntax errors.  So, the syntax errors were intentional and
ada-mode worked as designed.

--
Ludovic Brenta.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]