--- 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 ---