Package: file
Version: 1:5.19-2
Severity: normal

Dear Maintainer,

Some Pascal source files are classified as Ruby.
Maybe file is confused by the keywords 'module', 'import' and export,
which are valid Pascal extension keywords in ISO 10206?

A short example is attached.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=aa_DJ.utf8, LC_CTYPE=aa_DJ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages file depends on:
ii  libc6      2.19-11
ii  libmagic1  1:5.19-2
ii  zlib1g     1:1.2.8.dfsg-2

file recommends no packages.

file suggests no packages.

-- no debconf information

module Out4m;
(* FLAG --extended-pascal *)

export emil23m = (OK);

procedure OK;

end;

import StandardOutput;

procedure OK;
begin
  WriteLn ('OK')
end;

end.

Reply via email to