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.

Full log


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.




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.