Your message dated Sat, 26 Oct 2019 07:10:40 +0000
with message-id <[email protected]>
and subject line Bug#943511: Removed package(s) from unstable
has caused the Debian Bug report #884551,
regarding libopentoken6 : Ada lexer not well reset avec a call to
Set_Text_Feeder
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
884551: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884551
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libopentoken6-dev
Version: 6.0b-5+b2
File: libopentoken6
Severity: normal
Dear Maintainer,
while processing a bunch of Ada files, the OpenToken Ada Lexer is
sometimes ignoring the call to Set_Input_Feeder, and continue to parse
the previously opened Ada file.
I read this in OpenToken.Token.Enumerated.Analyzer :
--------------------------------------------------------------------
-- Reset Analyzer, to start finding tokens. This is appropriate
-- when the Feeder text has been changed.
--------------------------------------------------------------------
procedure Reset (Analyzer : in out Instance);
It seems appropriate, but it's not done in the Ada lexer.
For the Java lexer, no problem, as the analyzer instantiation is exposed
in the package spec, the user can add a call to Analyzer.Reset just
before Analyzer.Set_Text_Feeder.
But, for the Ada lexer, as the analyzer instantiation is hidden in the
body, and there no Reset procedure available in the spec, there is no
solution on user side.
I suggest to patch Set_Input_Feeder in ada_lexer.adb to do the same thing :
procedure Set_Input_Feeder (File : in Ada.Text_IO.File_Type) is
begin
Ada.Text_IO.Set_Input (File);
Analyzer.Reset; --> added line
Analyzer.Set_Text_Feeder (OpenToken.Text_Feeder.Text_IO.Create
(Ada.Text_IO.Current_Input));
> end Set_Input_Feeder;
thanks,
--
-- Lionel
PS : unable to send something with reportbug!
-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8),
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libopentoken6-dev depends on:
ii gnat 6.1
ii gnat-6 6.3.0-18
ii libopentoken9 6.0b-5+b2
libopentoken6-dev recommends no packages.
libopentoken6-dev suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 6.0b-9+rm
Dear submitter,
as the package opentoken has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/943511
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---