[Pkg-geany-team] Bug#915064: geany: syntax highlighting broken for Perl here-documents with ~ modifier

Celejar celejar at gmail.com
Fri Nov 30 00:21:02 GMT 2018


Package: geany
Version: 1.33-1
Severity: normal

Dear Maintainer,

Syntax highlighting is broken for Perl here-documents with ~ modifier.
The parser apparently doesn't understand that the whitespace-prefixed delimiter
ends the quoted text, and continues to highlight the following text as
quoted.

For example, with the attached file, Geany continues to highlight the
keywords 'my', 'print', and 'exit', as well as the closing brace, in green,
as quoted text, despite the fact that the Perl interpreter correctly
interprets and runs the code.

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

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages geany depends on:
ii  geany-common         1.33-1
ii  libatk1.0-0          2.30.0-1
ii  libc6                2.27-8
ii  libcairo-gobject2    1.16.0-1
ii  libcairo2            1.16.0-1
ii  libfribidi0          1.0.5-3
ii  libgcc1              1:8.2.0-10
ii  libgdk-pixbuf2.0-0   2.38.0+dfsg-6
ii  libglib2.0-0         2.58.1-2
ii  libgtk-3-0           3.24.1-2
ii  libpango-1.0-0       1.42.4-4
ii  libpangocairo-1.0-0  1.42.4-4
ii  libstdc++6           8.2.0-10

geany recommends no packages.

Versions of packages geany suggests:
pn  doc-base  <none>
ii  libvte9   1:0.28.2-5+b3

-- no debconf information
-------------- next part --------------
#!/usr/bin/perl -w

{
	print <<~EOF;
		some text
		EOF
}
my $foo = "Done\n";
print $foo;
exit;



More information about the Pkg-geany-team mailing list