GNU bug report logs - #40905
26.3; ada-mode 6.2.1: wiwi parser gets lost in large complex file

Previous Next

Packages: ada-mode, emacs;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Mon, 27 Apr 2020 15:18:02 UTC

Severity: minor

Found in version 26.3

Done: Stephen Leake <stephen_leake <at> stephe-leake.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40905 in the body.
You can then email your comments to 40905 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org:
bug#40905; Package emacs, ada-mode. (Mon, 27 Apr 2020 15:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
New bug report received and forwarded. Copy sent to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org. (Mon, 27 Apr 2020 15:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; ada-mode 6.2.1: wiwi parser gets lost in large complex file
Date: Mon, 27 Apr 2020 17:17:18 +0200
Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users <at> nongnu.org
Severity: minor

Hello,

I will send the reproducer file privately.  This file compiles cleanly.
At a certain point in the file, TAB over-indents the lines above point;
C-C C-f shows many errors flashing and disapperaing, then this final 
error:

wisi syntax errors
env_data_agent.adb:450:7: syntax error: expecting ACCEPT, ABORT, BEGIN, 
CASE, DECLARE, DELAY, END, EXCEPTION, EXIT, FOR, GOTO, IF, LOOP, NULL, 
PRAGMA, RAISE, REQUEUE, RETURN, SELECT, WHILE, LESS_LESS, IDENTIFIER,
 STRING_LITERAL, CHARACTER_LITERAL, found 'Wisi_EOI'

on a valid end return.

-- 
Ludovic Brenta.




Information forwarded to bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org:
bug#40905; Package emacs, ada-mode. (Sat, 02 May 2020 18:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 40905 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 40905 <at> debbugs.gnu.org
Subject: emacs ada-mode : wisi fails to compile with recent AdaCore wavefronts
Date: Sat, 02 May 2020 10:07:54 -0800
I've submitted ticket T416-025 (on the Eurocontrol support contract) to
AdaCore to ask about the best solution here; similar code in AdaCore's
implementation of Ada.Containers.Doubly_Linked_List uses
'Unrestricted_Access.

-- 
-- Stephe




Information forwarded to bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org:
bug#40905; Package emacs, ada-mode. (Sun, 10 May 2020 12:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 40905 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 40905 <at> debbugs.gnu.org
Subject: 26.3; ada-mode 6.2.1: wiwi parser gets lost in large complex file
Date: Sun, 10 May 2020 04:23:29 -0800
ada-mode 7.0.3 does not exhibit the problem of indenting the wrong
lines.

The errors are due to partial parse; C-c S-TAB cleans them up.

-- 
-- Stephe




Reply sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
You have taken responsibility. (Sun, 07 Jun 2020 21:24:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
bug acknowledged by developer. (Sun, 07 Jun 2020 21:24:02 GMT) Full text and rfc822 format available.

Message #16 received at 40905-close <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 40905-close <at> debbugs.gnu.org
Subject: closed by ada-mode version 7.1.3
Date: Sun, 07 Jun 2020 14:23:54 -0700
-- 
-- Stephe




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 Jul 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.