On 19/01/2019 18:13, Hendrik Boom wrote:
> The example Pascal program in the original bug report is now
> misclassified as Java source. This is on a new buster install as of
> 2019 01 19.
>
> guest@buster:~$ file Downloads/emil23m.pas
> Downloads/emil23m.pas: Java source, ASCII text
> guest@buster:~$ file --version
> file-5.35
> magic file from /etc/magic:/usr/share/misc/magic
> guest@buster:~$
>
> -- hendrik
>
Is it possible for a valid Java source to finish with 'end;' or 'end.' ?
If not, that might be sufficient to separate Pascal from Java.
Regards,
Peter B